// 文档 https://github.com/hooke007/MPV_lazy/wiki/4_GLSL

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!WIDTH LUMA.w 3 *
//!HEIGHT LUMA.h 3 *
//!COMPONENTS 1
//!BIND LUMA
//!SAVE LANCZOS3
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] lanczos3

#define FIX(c)		max(abs(c), 1e-5)
#define PI		3.141592653

vec3 weight3(float x)
{
    vec3 s = FIX(2.0 * PI * vec3(x - 1.5, x - 0.5, x + 0.5));
    return sin(s) * sin(s / 3.0) / (s * s);
}

float line_run(float ypos, vec3 xpos1, vec3 xpos2, vec3 linetaps1, vec3 linetaps2)
{
    return float(LUMA_tex(vec2(xpos1.r, ypos))) * linetaps1.r + float(LUMA_tex(vec2(xpos1.g, ypos))) * linetaps2.r + float(LUMA_tex(vec2(xpos1.b, ypos))) * linetaps1.g + float(LUMA_tex(vec2(xpos2.r, ypos))) * linetaps2.g + float(LUMA_tex(vec2(xpos2.g, ypos))) * linetaps1.b + float(LUMA_tex(vec2(xpos2.b, ypos))) * linetaps2.b;
}

vec4 hook()
{
    vec2 pos = LUMA_pos + LUMA_pt * 0.5;
    vec2 f = fract(pos / LUMA_pt);

    vec3 linetaps1 = weight3(0.5 - f.x * 0.5);
    vec3 linetaps2 = weight3(1.0 - f.x * 0.5);
    vec3 columntaps1 = weight3(0.5 - f.y * 0.5);
    vec3 columntaps2 = weight3(1.0 - f.y * 0.5);

    float suml = dot(linetaps1, vec3(1.0)) + dot(linetaps2, vec3(1.0));
    float sumc = dot(columntaps1, vec3(1.0)) + dot(columntaps2, vec3(1.0));
    linetaps1 /= suml;
    linetaps2 /= suml;
    columntaps1 /= sumc;
    columntaps2 /= sumc;

    vec2 xystart = (-2.5 - f) * LUMA_pt + pos;
    vec3 xpos1 = vec3(xystart.x, xystart.x + LUMA_pt.x, xystart.x + LUMA_pt.x * 2.0);
    vec3 xpos2 = vec3(xystart.x + LUMA_pt.x * 3.0, xystart.x + LUMA_pt.x * 4.0, xystart.x + LUMA_pt.x * 5.0);

    return vec4(line_run(xystart.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps1.r + line_run(xystart.y + LUMA_pt.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps2.r + line_run(xystart.y + LUMA_pt.y * 2.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.g + line_run(xystart.y + LUMA_pt.y * 3.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.g + line_run(xystart.y + LUMA_pt.y * 4.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.b + line_run(xystart.y + LUMA_pt.y * 5.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.b, 0, 0, 0);
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE1
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] feature map 1

vec4 hook()
{
vec4 res = vec4(-0.015055694617331,-0.343152672052383,-0.061917230486870,0.026032354682684);
res += vec4(0.060240469872952,0.058414071798325,-0.039369583129883,-0.022121086716652) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.160836890339851,0.043080758303404,-0.009820564649999,-0.022469652816653) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.095591455698013,-0.087830409407616,-0.015821315348148,0.015774769708514) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.018651427701116,-0.001046508667059,-0.012799382209778,0.094529785215855) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.113759487867355,-0.009253537282348,-0.001727805705741,-0.033477846533060) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.071527548134327,-0.023858388885856,-0.046587619930506,-0.093522109091282) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.046305179595947,-0.127567633986473,0.271558284759521,-0.054638575762510) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.031054714694619,-0.064764931797981,-0.215781524777412,0.046866849064827) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.095964558422565,-0.217127338051796,0.034651506692171,-0.033074948936701) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.055330697447062,0.066351577639580,-0.050964940339327,-0.004762900527567) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.013295842334628,0.102779313921928,0.032869003713131,0.093901589512825) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.095867522060871,0.120553582906723,-0.288592219352722,-0.019197747111320) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.025898538529873,-0.011221676133573,0.380885928869247,0.126956611871719) * float(LUMA_texOff(vec2(0,0)));
res += vec4(-0.057484555989504,0.334031432867050,0.049900673329830,-0.127270206809044) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.003220394952223,-0.039246246218681,0.049211442470551,-0.124121934175491) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.018610101193190,-0.055422578006983,0.039877057075500,-0.067922793328762) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.026199795305729,-0.010034702718258,0.040975287556648,-0.067860029637814) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.070574827492237,0.200931355357170,-0.128769218921661,-0.033755593001842) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.075826220214367,0.119485646486282,-0.012648334726691,0.132668599486351) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.034273937344551,0.020216835662723,-0.013906015083194,0.106600940227509) * float(LUMA_texOff(vec2(1,2)));
res += vec4(0.091816760599613,-0.027760807424784,-0.023599974811077,0.019307814538479) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.172019317746162,0.099716268479824,-0.101894848048687,0.019575975835323) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.014491967856884,0.131172075867653,0.213761106133461,0.035611946135759) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.019779821857810,0.117131359875202,-0.056185543537140,-0.054042562842369) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.001127519994043,0.014869313687086,0.001747296424583,-0.001507480978034) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE2
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] feature map 2

vec4 hook()
{
vec4 res = vec4(0.035017997026443,-0.016158785670996,-0.042494449764490,-0.006555255502462);
res += vec4(-0.013493308797479,0.004736356437206,0.021474089473486,-0.015197869390249) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.012044225819409,-0.110361889004707,-0.117460295557976,0.043867070227861) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.034566860646009,0.032613873481750,-0.035954806953669,-0.100433573126793) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.070648260414600,0.053603727370501,0.068077377974987,0.076092064380646) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.030124124139547,0.064762435853481,-0.013082483783364,0.002604776527733) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.029048185795546,-0.040704388171434,-0.026398627087474,0.034463003277779) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.104668274521828,0.049628958106041,-0.004108583088964,-0.143127426505089) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.018670812249184,-0.114889167249203,0.198360204696655,0.149976909160614) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.034073494374752,0.091751411557198,0.053612831979990,-0.086418628692627) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.043992619961500,-0.033584069460630,-0.015899758785963,0.069595225155354) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.179773136973381,-0.157251775264740,0.026165520772338,-0.094683222472668) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.007519496604800,0.115037761628628,-0.231750041246414,0.089469447731972) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.649209260940552,0.129849046468735,-0.509806275367737,-0.138187006115913) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.549958765506744,-0.021376516669989,-0.597000360488892,0.171932414174080) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.000317714351695,0.012090003117919,-0.012597059831023,-0.047022841870785) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.046015724539757,0.218598157167435,-0.087247125804424,0.052680514752865) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.016161998733878,0.163745746016502,0.161875247955322,0.089864596724510) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.489418745040894,-0.193972140550613,0.994511008262634,0.082766547799110) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.352574259042740,-0.043495990335941,0.056010872125626,-0.133627355098724) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.012852705083787,-0.158160999417305,-0.005067600402981,-0.030363710597157) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.018085047602654,-0.110072284936905,0.054956682026386,-0.015833143144846) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.011476658284664,-0.001690135803074,-0.107535824179649,-0.028425602242351) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.116737879812717,-0.045876462012529,0.240182861685753,0.033599629998207) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.032298438251019,0.048452116549015,-0.098715037107468,-0.004153985064477) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.058042436838150,0.072049133479595,0.079787604510784,-0.054995398968458) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE3
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] feature map 3

vec4 hook()
{
vec4 res = vec4(0.088411003351212,0.279681175947189,-0.032053809612989,-0.125831693410873);
res += vec4(0.025993764400482,0.039309665560722,0.019210567697883,0.016316104680300) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.079879149794579,0.003004289930686,-0.022889496758580,0.024936104193330) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.186338767409325,-0.107849806547165,0.087122581899166,-0.057483728975058) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.026225347071886,-0.004233649000525,0.002729042666033,0.023396585136652) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.004152244422585,0.052073899656534,-0.019064415246248,-0.046566613018513) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.036819219589233,0.021318964660168,-0.012939216569066,-0.085478626191616) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.244896426796913,-0.019821589812636,-0.051110304892063,-0.073945671319962) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.366492450237274,-0.104955084621906,0.023078229278326,-0.044366408139467) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.016499392688274,-0.045054104179144,0.002570308279246,0.094385214149952) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.003988072741777,-0.035174965858459,0.111955121159554,0.059540227055550) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.013518447987735,-0.101349718868732,-0.172099217772484,0.022415038198233) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.223241046071053,-0.103291794657707,0.000192949111806,-0.085450135171413) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.467790216207504,-0.552204549312592,0.093030616641045,0.447132140398026) * float(LUMA_texOff(vec2(0,0)));
res += vec4(-0.458632230758667,-0.297028720378876,0.109628014266491,0.041232351213694) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.095284357666969,-0.093616150319576,-0.055637307465076,0.087513059377670) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.026781968772411,-0.041101649403572,-0.047807823866606,-0.010431037284434) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.062411081045866,-0.009946072474122,-0.081587143242359,-0.069236785173416) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.295879513025284,-0.124602943658829,0.035585328936577,0.199006602168083) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.078541487455368,-0.231704384088516,-0.045337099581957,-0.269830346107483) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.092870347201824,0.096623033285141,0.118686161935329,0.009746082127094) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.030349573120475,0.091951206326485,0.003356588073075,-0.028434060513973) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.022817371413112,0.040616754442453,-0.024458896368742,0.056516133248806) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.068010754883289,-0.010099223814905,-0.007525624241680,-0.017552150413394) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.039850894361734,-0.016052391380072,-0.008679564110935,-0.029432427138090) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.001544446684420,0.000645048217848,0.005046319216490,0.007815325632691) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE4
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] feature map 4

vec4 hook()
{
vec4 res = vec4(-0.519415736198425,0.125218212604523,-0.021106535568833,-0.066021203994751);
res += vec4(-0.039153005927801,0.061036624014378,-0.037476867437363,0.021543720737100) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.069427862763405,0.026817932724953,-0.028589108958840,0.088464319705963) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.014641883783042,0.078047268092632,-0.184371531009674,-0.026645774021745) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.103106334805489,-0.025897953659296,-0.210240006446838,-0.000391141249565) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.032372500747442,-0.030458264052868,0.008872750215232,-0.082711122930050) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.050122935324907,-0.051679793745279,0.023045185953379,-0.045842599123716) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.069533519446850,0.113723941147327,-0.181411966681480,0.055656500160694) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.309684067964554,-0.773131012916565,-0.626272499561310,0.124956890940666) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.010351602919400,0.301249712705612,0.063351608812809,-0.056027285754681) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.077369466423988,-0.017312778159976,-0.084204182028770,0.089971393346786) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(0.070525184273720,0.017877815291286,-0.074445113539696,0.272518634796143) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.125104889273643,0.412328928709030,0.197071120142937,0.308971673250198) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.680562257766724,-0.561078608036041,0.432926177978516,-0.120092265307903) * float(LUMA_texOff(vec2(0,0)));
res += vec4(-0.037927161902189,0.148599028587341,0.126433640718460,-0.139902755618095) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.089599147439003,0.032078355550766,0.072639562189579,-0.218238085508347) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.041069023311138,0.062870666384697,0.054091352969408,0.069308511912823) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.001456430880353,0.380524098873138,-0.012700409628451,0.147926449775696) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.385128259658813,-0.521872341632843,0.424433439970016,-0.005763288121670) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.144725576043129,0.133295580744743,-0.092411875724792,-0.148517653346062) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.066361144185066,-0.084061287343502,0.111832797527313,-0.074961945414543) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.029689799994230,-0.026324506849051,-0.021785467863083,-0.019045077264309) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.010102733038366,-0.102688662707806,0.034577276557684,0.026049956679344) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.185163795948029,0.315369844436646,-0.021751562133431,-0.069738820195198) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.063482537865639,-0.083833917975426,0.020736701786518,-0.013674230314791) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.053626023232937,0.001418150379322,-0.001880979398265,-0.046901185065508) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE5
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] feature map 5

vec4 hook()
{
vec4 res = vec4(-0.186956465244293,0.021754752844572,0.008054688572884,0.071050062775612);
res += vec4(0.001552629633807,0.055064730346203,0.076954521238804,-0.015446567907929) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.055782496929169,-0.034175433218479,-0.147330582141876,-0.048342429101467) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.106157243251801,0.034728337079287,-0.050484899431467,0.160622954368591) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.012591342441738,-0.005494892597198,0.058669954538345,-0.045072771608829) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.079585090279579,0.040391299873590,-0.017827240750194,0.039971537888050) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.094931773841381,-0.063900411128998,0.063126496970654,-0.063281655311584) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.155159071087837,0.059880618005991,0.000316979538184,0.171412080526352) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.249035358428955,-0.032020214945078,0.056921169161797,0.141174867749214) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.099600687623024,0.037203319370747,-0.007420297246426,0.189297229051590) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.037147879600525,-0.013694870285690,-0.064124174416065,-0.101130500435829) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.019413892179728,0.085032038390636,-0.154094308614731,0.146090760827065) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.030442250892520,-0.030754536390305,0.183399990200996,-0.377516865730286) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.201572015881538,0.018657272681594,-0.114111438393593,-1.289568781852722) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.273829340934753,-0.032352574169636,-0.004098117817193,0.300102174282074) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.189456447958946,-0.018765233457088,0.165538176894188,0.053821168839931) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.035911291837692,-0.070214331150055,-0.011688790284097,-0.006250825244933) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.008931640535593,-0.063121043145657,-0.147660642862320,0.127234220504761) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.093420967459679,0.108650803565979,0.192725837230682,0.497256249189377) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.111546047031879,0.013407566584647,-0.036037214100361,0.046435963362455) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.130563855171204,-0.049973413348198,-0.025419322773814,-0.004102026578039) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.085561886429787,0.038574889302254,0.036316893994808,-0.011261592619121) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.002668382134289,0.016914084553719,0.113472595810890,-0.021704496815801) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.035297174006701,-0.105819188058376,-0.149481311440468,0.168976232409477) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.035813156515360,0.001839436241426,0.047147613018751,-0.147716596722603) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.022530643269420,-0.004107341170311,-0.091288514435291,0.041932400316000) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE6
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] feature map 6

vec4 hook()
{
vec4 res = vec4(0.000261970300926,0.067991316318512,-0.035337232053280,-0.210510000586510);
res += vec4(0.080767266452312,-0.054195474833250,0.011311314068735,0.013200884684920) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.124218441545963,0.077125154435635,-0.036765594035387,0.007118897512555) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.034551337361336,0.064029574394226,-0.124033041298389,-0.041889209300280) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.009748926386237,-0.085021190345287,0.105377204716206,0.150168374180794) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.032557334750891,0.014556748792529,0.036136947572231,0.013786183670163) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.071866989135742,0.100542552769184,0.015248068608344,-0.006461901590228) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.136103093624115,-0.088743366301060,-0.063964873552322,0.020633367821574) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.078499376773834,0.036372672766447,-0.440056025981903,0.105017982423306) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.072570279240608,0.125822201371193,-0.281701564788818,-0.089455194771290) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.024032514542341,0.055407021194696,-0.029329920187593,-0.009690669365227) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.165471524000168,0.074212804436684,0.204195156693459,-0.085836216807365) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.145817056298256,-0.000161640404258,-0.271465301513672,0.146944299340248) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.015934180468321,0.196551606059074,0.879641354084015,0.781871438026428) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.122803367674351,-0.047341927886009,-0.034349825233221,0.323540896177292) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.042091507464647,0.058863922953606,-0.032279312610626,-0.067253753542900) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.104358203709126,-0.115447252988815,-0.165675058960915,0.011364107020199) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.033892266452312,-0.086951538920403,0.102242350578308,-0.194636210799217) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.025101335719228,-0.136135175824165,0.212202474474907,-0.364986896514893) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.136832594871521,-0.077803619205952,-0.082829363644123,-0.096926636993885) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.005084967240691,-0.109518453478813,-0.048197496682405,0.127726241946220) * float(LUMA_texOff(vec2(1,2)));
res += vec4(0.020391870290041,-0.024611413478851,0.021504940465093,0.030799919739366) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.026669938117266,-0.044341374188662,0.234138950705528,-0.092812307178974) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.065019577741623,-0.184551060199738,-0.290338754653931,-0.100516825914383) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.084125488996506,0.080120563507080,0.121618874371052,-0.137341663241386) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.089112870395184,-0.018313333392143,0.006438798271120,-0.053171660751104) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 1_1

vec4 hook()
{
vec4 res = vec4(-0.114840172231197,-0.144966050982475,-0.881760597229004,0.047012787312269);
res += mat4(0.035983681678772,0.010057725012302,0.075480900704861,-0.043566521257162,-0.004401140380651,0.115489810705185,-0.065972343087196,0.041734512895346,0.016708377748728,0.057412959635258,-0.031990960240364,0.004732816014439,0.013560015708208,0.035313893109560,-0.024520920589566,0.013312663882971) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.016736872494221,0.008443882688880,-0.050931897014380,-0.000264492555289,0.008267320692539,-0.034576382488012,-0.025251433253288,-0.023242952302098,-0.013920017518103,0.043953139334917,0.055952914059162,0.001256073825061,0.024981388822198,0.021080348640680,-0.012461381033063,-0.000386623607483) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.006450296379626,0.067091107368469,0.003331749700010,-0.000829982280266,0.039945404976606,-0.035756271332502,-0.032747298479080,0.043474741280079,0.031040221452713,0.077420271933079,-0.020834740251303,0.057327907532454,0.015892835333943,-0.010027153417468,0.023472107946873,0.020445263013244) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.012850149534643,-0.002947126049548,-0.043210357427597,-0.046726189553738,0.003555081319064,0.021666428074241,0.066543526947498,0.037539124488831,-0.005537474993616,0.067963160574436,-0.065503381192684,-0.020039767026901,0.028850059956312,-0.061948459595442,-0.006097421050072,-0.037079766392708) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.008594536222517,0.007057226728648,-0.000211051839869,-0.027159487828612,0.033141471445560,0.055879108607769,0.117414996027946,-0.142351999878883,0.031252738088369,0.162752166390419,-0.039632517844439,0.120452143251896,0.022456821054220,0.060595467686653,-0.025392435491085,0.019981408491731) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.010990780778229,-0.004775702953339,-0.002184627112001,-0.003697369480506,0.045420899987221,0.101767294108868,-0.126692473888397,0.025931768119335,0.018965892493725,0.072221733629704,0.038328502327204,-0.033613085746765,-0.004834031686187,0.098434075713158,-0.027288276702166,0.067699268460274) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.006692930590361,-0.006413938477635,-0.029484055936337,0.076956808567047,0.018850427120924,-0.074247121810913,0.190541058778763,-0.070966534316540,0.022584524005651,-0.001042697345838,0.080137185752392,-0.009502146393061,-0.000486924574943,0.076865360140800,-0.045755390077829,-0.003646177705377) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.028328824788332,0.037506259977818,0.028400504961610,0.058718089014292,0.041436668485403,-0.042752109467983,-0.029305065050721,0.003515893593431,0.015143508091569,-0.191564828157425,0.162857607007027,-0.038202442228794,-0.029673265293241,-0.040227960795164,0.064595326781273,-0.023535316810012) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.018805868923664,0.040926754474640,0.035966627299786,-0.033344931900501,0.028242889791727,-0.043907597661018,0.108295887708664,0.028867864981294,0.068015687167645,0.120316237211227,-0.082533769309521,-0.047522600740194,-0.012010742910206,0.003031484317034,0.017715059220791,0.001440987689421) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.035378810018301,0.019476156681776,0.024340547621250,-0.020958850160241,0.033923525363207,-0.022105222567916,-0.073696054518223,0.081138513982296,-0.026838554069400,-0.065858997404575,-0.015884635969996,-0.086752004921436,-0.002969973254949,0.044595036655664,0.017064772546291,0.033099837601185) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.025360520929098,0.012341856025159,-0.061980694532394,-0.074468240141869,0.013446764089167,0.097503252327442,0.000341055303579,-0.019486574456096,-0.007170928642154,-0.095628105103970,0.001339695067145,-0.028806732967496,-0.008749958127737,-0.030634708702564,0.017045374959707,0.000273960205959) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.006872690748423,-0.028197903186083,0.041385006159544,0.008407826535404,-0.022510988637805,-0.036384582519531,-0.040092181414366,-0.031785152852535,0.010139359161258,0.000374127441319,-0.048730906099081,-0.033420234918594,-0.029296219348907,0.041502498090267,-0.021314278244972,-0.047701328992844) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.025557901710272,0.117638096213341,-0.018369115889072,0.183061763644218,-0.015898643061519,-0.037912189960480,0.034596860408783,0.016906272619963,-0.018844854086637,0.033066567033529,0.105915896594524,-0.135669469833374,-0.022879488766193,0.022753495723009,-0.056091696023941,0.046955902129412) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.045898117125034,-0.116128407418728,0.158576369285583,-0.292006909847260,-0.043727908283472,0.057787634432316,-0.069885276257992,0.053471453487873,-0.000495694403071,-0.142314076423645,0.208595290780067,-0.157042533159256,-0.039693102240562,0.027052598074079,0.065101817250252,-0.056366398930550) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.044059034436941,-0.098002962768078,0.065924145281315,0.122547410428524,-0.039848592132330,-0.011061541736126,0.074279509484768,-0.138568326830864,0.021087026223540,0.010035189799964,0.034228343516588,-0.026600185781717,0.003726536175236,-0.062662817537785,0.025862326845527,0.005039428826421) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.001927712466568,-0.156464740633965,0.077139355242252,-0.068689033389091,-0.043739601969719,-0.029892938211560,-0.029906461015344,-0.037636879831553,0.032362110912800,0.131071850657463,-0.074174202978611,-0.045051261782646,-0.045353729277849,-0.057511981576681,0.005944391246885,-0.033159919083118) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.041643138974905,0.227163493633270,-0.219219848513603,0.013082787394524,-0.021473696455359,-0.005299228243530,0.059266157448292,-0.063419051468372,0.010404565371573,0.134553045034409,0.098965555429459,0.154834255576134,0.027323987334967,0.040632307529449,-0.053775019943714,0.049255523830652) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.022372925654054,0.035540819168091,-0.036095488816500,0.024130472913384,0.027232784777880,0.009430440142751,0.007185212802142,0.074093379080296,-0.000553446181584,-0.034614581614733,-0.092529378831387,0.062204249203205,0.016173312440515,0.052627775818110,-0.038330730050802,0.092688813805580) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.013893347233534,-0.045812085270882,0.030665451660752,-0.032221231609583,0.006994925439358,0.018796108663082,0.038587071001530,0.099783159792423,-0.001685194438323,-0.006088432390243,-0.052988409996033,-0.014181312173605,0.013066692277789,0.055340420454741,-0.088777564466000,0.044036734849215) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.039630137383938,0.031658798456192,0.056344475597143,0.076735191047192,0.014865620061755,-0.023284193128347,0.048801142722368,0.122120127081871,-0.007756856270134,0.002180792391300,-0.023060383275151,-0.001092686085030,-0.015001802705228,0.089349105954170,-0.026577096432447,0.052815187722445) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.017822595313191,-0.000536095816642,-0.026605932042003,-0.132947534322739,0.013793216086924,0.037614639848471,-0.022577289491892,0.114278048276901,0.010199166834354,0.007622496690601,0.032588396221399,0.027334462851286,-0.026124535128474,0.028313936665654,-0.027549993246794,0.050857651978731) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.031827110797167,0.021374298259616,-0.056341953575611,-0.107696004211903,0.018173558637500,0.176335155963898,-0.122050210833549,0.004069196991622,-0.004152030218393,0.006767692975700,0.021313833072782,-0.046492427587509,-0.017595063894987,0.050836350768805,-0.072759211063385,-0.060197781771421) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.019100369885564,0.033078968524933,-0.034795146435499,-0.044734910130501,0.017231862992048,0.009342673234642,0.066743038594723,-0.035391017794609,-0.002079332713038,0.028111733496189,-0.005562538746744,-0.059981975704432,-0.019522218033671,-0.013367010280490,0.133539959788322,0.128961771726608) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.034085780382156,-0.148273035883904,0.054266065359116,-0.192799523472786,0.012592636980116,-0.016698384657502,0.090832084417343,0.204839095473289,0.025044381618500,0.073614388704300,-0.016922628507018,0.014477428048849,0.012815915048122,0.058330383151770,0.003541270038113,0.009924477897584) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.014168744906783,0.145508080720901,-0.141017034649849,-0.079762950539589,0.021004229784012,0.024463156238198,0.040217395871878,0.038906242698431,0.002022950677201,0.031344145536423,0.012572971172631,-0.058821592479944,-0.016964087262750,0.066842570900917,0.010923185385764,-0.066769808530807) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.028745494782925,0.187291115522385,-0.100008010864258,0.004967706277966,0.014848994091153,0.067609660327435,-0.204884588718414,0.093889765441418,0.026188313961029,0.009152241982520,0.101938925683498,-0.014384119771421,0.006299412809312,-0.043093547224998,0.122978307306767,0.052297793328762) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.039917014539242,-0.096145451068878,0.103602416813374,-0.309738934040070,0.007092138286680,0.006129818968475,-0.132200896739960,0.153919726610184,0.023537395521998,0.034098785370588,0.021534174680710,0.012395478785038,0.050250995904207,-0.037761226296425,-0.008801991119981,-0.003585301106796) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.006621163804084,0.009306313470006,0.021453490480781,0.049019489437342,-0.006329226307571,-0.058470740914345,0.060745097696781,0.108775459229946,-0.017157364636660,0.036044765263796,0.009086986072361,-0.040226265788078,0.046029996126890,0.025269255042076,-0.089305713772774,0.049198701977730) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.000177495196112,-0.040888287127018,0.087219074368477,0.105879694223404,-0.008337624371052,-0.031617034226656,0.072037205100060,-0.132244184613228,-0.035593118518591,-0.014466876164079,0.004101314116269,-0.070058785378933,0.036717358976603,0.083572678267956,0.012421685270965,0.110135719180107) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.014187800697982,0.128535479307175,0.100778289139271,0.072448760271072,0.036837030202150,-0.073858045041561,-0.011974906548858,-0.211312398314476,-0.028002334758639,-0.034206230193377,0.034114807844162,-0.051156919449568,-0.012440250255167,-0.023824444040656,-0.077665761113167,-0.022562481462955) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.002240380039439,0.041880518198013,0.117810666561127,-0.110621906816959,-0.020241023972631,0.073958367109299,-0.064257159829140,0.077131636440754,-0.035533223301172,0.034218892455101,-0.048745226114988,0.113246567547321,0.026383159682155,-0.004045399837196,-0.089912079274654,-0.038911059498787) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.008590062148869,-0.175656110048294,0.207849666476250,0.189587041735649,0.008330702781677,0.191416978836060,-0.146884709596634,-0.076846458017826,-0.021461967378855,-0.156021460890770,0.096555128693581,0.247336253523827,-0.011772147379816,-0.033689588308334,0.031022289767861,-0.017760854214430) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.004599989391863,0.041945587843657,0.150140300393105,-0.161203727126122,-0.005395640619099,-0.184466451406479,0.129581198096275,-0.176854133605957,0.026096526533365,0.036709666252136,0.048539701849222,-0.012265973724425,-0.033159948885441,-0.047032993286848,0.048763521015644,-0.066723652184010) * FEATURE4_texOff(vec2(0,1));
res += mat4(-0.017651055008173,-0.098976150155067,0.118431240320206,0.035539321601391,0.000599803635851,-0.008309912867844,0.040128123015165,-0.045292977243662,-0.021847669035196,-0.114286579191685,-0.082112908363342,0.083136744797230,-0.014077128842473,0.038152977824211,0.022358866408467,0.024856474250555) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.005893759429455,-0.314675331115723,0.271028131246567,0.111061729490757,0.007159975357354,0.009385808371007,-0.144103318452835,-0.121989972889423,0.013079315423965,-0.202580586075783,0.050717476755381,0.117872625589371,-0.022047033533454,0.095742210745811,0.038882311433554,0.137273252010345) * FEATURE4_texOff(vec2(1,0));
res += mat4(0.008229842409492,-0.002321942010894,0.262782335281372,-0.022386340424418,-0.014194926247001,-0.068570926785469,0.054500591009855,-0.082687966525555,0.028409451246262,-0.133912608027458,0.064703993499279,0.152873933315277,-0.028796089813113,-0.120647467672825,0.071519613265991,-0.096601016819477) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.005242796149105,-0.011582294479012,0.002860317938030,-0.011023367755115,-0.003575755516067,-0.024016169831157,0.060476001352072,-0.024946492165327,-0.034213494509459,-0.033507484942675,0.051557954400778,0.023803738877177,-0.040362667292356,0.041041757911444,-0.017924547195435,-0.008425421081483) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.002861553570256,0.032272160053253,-0.094617851078510,-0.015696361660957,-0.016487108543515,0.028652204200625,-0.035066578537226,-0.006570922676474,-0.009415207430720,0.094072729349136,-0.026461543515325,0.002028177026659,-0.016824055463076,-0.091743715107441,0.024273790419102,-0.071184210479259) * FEATURE5_texOff(vec2(-1,0));
res += mat4(0.020314330235124,0.034485831856728,-0.029318293556571,0.064516589045525,-0.017243186011910,-0.037057995796204,0.032866667956114,0.035540476441383,-0.033683747053146,0.031546451151371,0.010146791115403,0.029984582215548,0.039494462311268,-0.050991229712963,0.024486977607012,-0.022910265251994) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.009883881546557,0.071808651089668,-0.031104410067201,0.036216638982296,-0.011798162013292,-0.014026969671249,0.007205331232399,-0.006644895300269,0.002388216787949,0.050228338688612,0.012722142040730,0.014427659101784,-0.008954918943346,0.118331626057625,-0.037969235330820,0.041085392236710) * FEATURE5_texOff(vec2(0,-1));
res += mat4(0.032765265554190,-0.048312291502953,-0.017817182466388,-0.014846314676106,-0.009037997573614,-0.114212237298489,0.051652930676937,-0.011405121535063,-0.001197819598019,-0.099362485110760,0.073176749050617,-0.083279892802238,0.007961836643517,-0.067583747208118,0.177344635128975,-0.399915486574173) * FEATURE5_texOff(vec2(0,0));
res += mat4(0.030041068792343,-0.006341587752104,-0.048530120402575,-0.071335375308990,-0.006841572001576,-0.015108341351151,-0.012994848191738,0.070723339915276,0.025743361562490,0.067726358771324,-0.135589867830276,0.005393680185080,0.027243964374065,-0.069729357957840,0.037929866462946,0.021564256399870) * FEATURE5_texOff(vec2(0,1));
res += mat4(0.026506908237934,-0.090194948017597,0.101368226110935,-0.010492537170649,0.003032597014681,-0.003114785999060,0.021923065185547,0.005150704178959,0.007041088771075,0.037692837417126,-0.045075476169586,-0.039893377572298,0.038632966578007,0.063991360366344,0.098962277173996,-0.063366584479809) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.021742591634393,-0.084154531359673,0.051678873598576,0.027160461992025,-0.021614670753479,0.043169338256121,-0.025806577876210,-0.024486154317856,0.023014945909381,0.175424322485924,-0.022273780778050,-0.012913236394525,0.027445375919342,0.305974781513214,-0.251676350831985,-0.046250566840172) * FEATURE5_texOff(vec2(1,0));
res += mat4(0.023243231698871,-0.017928946763277,0.095360971987247,-0.102361835539341,-0.012407480739057,0.020172031596303,-0.001838776166551,-0.040668509900570,0.010663730092347,-0.076826363801956,0.092192254960537,-0.040033515542746,-0.020330887287855,0.055832564830780,-0.056448329240084,-0.088927753269672) * FEATURE5_texOff(vec2(1,1));
res += mat4(0.011081291362643,-0.078869044780731,0.048707630485296,-0.016572732478380,0.020185053348541,-0.015338503755629,-0.002214084612206,-0.055951051414013,0.002428023144603,-0.010583742521703,0.042857546359301,0.011992123909295,0.041482463479042,0.096551254391670,-0.099881000816822,0.101116046309471) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.003455239813775,0.054118432104588,0.002463286742568,-0.000439086928964,0.005715850275010,0.002576821250841,0.002592503791675,-0.010288592427969,-0.028332607820630,0.115202330052853,-0.067973576486111,-0.073646932840347,0.010240235365927,0.082850039005280,-0.036433812230825,0.151807278394699) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.030124517157674,0.062527798116207,0.038687903434038,0.021884359419346,-0.013841748237610,0.068793870508671,-0.004851188976318,0.032832864671946,-0.035876899957657,-0.092487819492817,-0.037521358579397,-0.079056575894356,-0.016647150740027,0.089078858494759,-0.087527528405190,0.280697584152222) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.004185065161437,-0.024351188912988,0.009433903731406,0.048278596252203,0.004713028203696,-0.022625101730227,-0.030934959650040,-0.012706634588540,-0.033873084932566,0.025647392496467,-0.129927888512611,0.023269817233086,0.017487730830908,-0.013268670998514,-0.083401486277580,0.046621430665255) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.059994757175446,-0.020549790933728,-0.040552530437708,-0.013943823054433,-0.003478999715298,-0.068435430526733,-0.002046823268756,0.075731232762337,-0.009877269156277,-0.086984701454639,0.061247199773788,0.276869833469391,-0.006469493266195,0.068233951926231,-0.063513584434986,0.188763186335564) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.043925933539867,0.034982062876225,0.022473806515336,-0.011849309317768,-0.016952721402049,-0.014717225916684,-0.074799992144108,0.026020381599665,0.008830300532281,0.059661045670509,-0.021887348964810,0.154233753681183,-0.004654775373638,0.032303735613823,-0.002022846601903,0.077262744307518) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.039077412337065,-0.158966526389122,0.007017970550805,-0.003686045529321,-0.010655501857400,0.027844935655594,-0.019989360123873,0.046748880296946,-0.008236328139901,-0.065987348556519,0.082284837961197,0.008662227541208,-0.034230131655931,-0.036692168563604,0.156827464699745,0.067275241017342) * FEATURE6_texOff(vec2(1,-1));
res += mat4(-0.012754550203681,-0.030195247381926,0.037808839231730,0.017193811014295,-0.015358588658273,-0.002362578874454,0.036597348749638,-0.038082037121058,-0.007241083774716,-0.148080259561539,0.117762565612793,-0.004526999779046,-0.017557909712195,-0.165781721472740,0.229356944561005,0.049463950097561) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.009256300516427,-0.008399876765907,0.023537015542388,-0.052790138870478,-0.010287165641785,0.049570690840483,-0.095083802938461,0.015983683988452,0.028863253071904,-0.083681166172028,0.005544191226363,0.063749782741070,0.030682254582644,0.033519115298986,-0.023602213710546,0.086277827620506) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.001129784854129,-0.018866516649723,-0.002757666865364,0.021545272320509) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 1_2

vec4 hook()
{
vec4 res = vec4(-0.192854195833206,0.027791332453489,0.183669850230217,-0.801762938499451);
res += mat4(-0.038949850946665,0.013282777741551,-0.078293099999428,-0.067923024296761,0.011203971691430,-0.114863291382790,0.148437693715096,-0.001126353512518,0.000979619100690,-0.020623875781894,-0.036362700164318,-0.038889963179827,0.032810565084219,0.032832026481628,0.055675338953733,-0.000246356241405) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.046961765736341,0.020113028585911,0.150378376245499,0.034071631729603,-0.029152939096093,0.070434205234051,-0.000128819083329,0.074135571718216,0.083945013582706,-0.156806766986847,0.079063653945923,0.009350283071399,-0.012995203025639,-0.049914073199034,-0.032044000923634,-0.016618402674794) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.074651025235653,0.050107907503843,-0.026868384331465,-0.041699111461639,-0.005330425687134,0.053820017725229,0.135759592056274,0.035821583122015,-0.005146337207407,0.069838479161263,-0.044409912079573,0.039044082164764,-0.032136648893356,-0.071044422686100,0.087755776941776,-0.021749468520284) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.030928224325180,-0.041839305311441,-0.042615525424480,-0.048597689718008,-0.027519455179572,0.074749082326889,0.047352384775877,0.202266886830330,-0.038017358630896,-0.017260706052184,-0.042888671159744,-0.072265475988388,-0.007129104342312,-0.024603383615613,-0.136756107211113,-0.021515080705285) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.042182181030512,0.004522351082414,0.037595976144075,-0.037160459905863,0.020780058577657,-0.159627273678780,0.047253556549549,0.066626347601414,-0.092045865952969,0.287526130676270,0.073035046458244,0.196784496307373,-0.020333521068096,0.082095734775066,0.014244040474296,0.057160455733538) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.040602028369904,0.036697164177895,-0.005634402856231,0.065294437110424,-0.085740029811859,0.054116901010275,0.032514013350010,0.077161662280560,0.095265954732895,-0.418015867471695,0.080707453191280,-0.097127430140972,0.069703601300716,-0.064359761774540,-0.085643611848354,-0.038928132504225) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.009169817902148,0.093655757606030,0.004141460638493,-0.013355666771531,0.098256826400757,-0.065335124731064,0.097868032753468,-0.000948160304688,0.041070561856031,0.048414736986160,-0.003500903025270,0.101158425211906,0.046873480081558,-0.009425066411495,0.106643527746201,-0.037532523274422) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.030793260782957,-0.043301593512297,0.032777439802885,-0.041718952357769,0.062462057918310,0.136040806770325,0.062880076467991,0.114429533481598,0.010447312146425,-0.210361763834953,-0.015993585810065,-0.109762050211430,-0.050769664347172,-0.004567741882056,0.011961389333010,-0.027672141790390) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.000125176447909,-0.098593465983868,0.032043099403381,0.036149147897959,0.011724718846381,-0.106934316456318,-0.031732216477394,0.080607078969479,-0.012937805615366,0.242194578051567,0.012293525971472,0.087689153850079,-0.043585609644651,0.010952277109027,0.076021522283554,-0.054055359214544) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.034406002610922,-0.163862273097038,-0.126280516386032,-0.121708258986473,0.001431442098692,0.014879181981087,-0.139236196875572,0.017950620502234,-0.041325200349092,0.069265902042389,-0.003184664994478,0.036373127251863,0.015390323475003,-0.100655704736710,-0.088502906262875,-0.050545163452625) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.126918107271194,0.202546074986458,0.044358048588037,0.127108126878738,0.038307335227728,-0.139071360230446,-0.006723744329065,-0.003106098156422,-0.189494654536247,0.011289605870843,-0.120162628591061,0.069471254944801,-0.061105970293283,0.002013796474785,-0.006949662696570,0.043496407568455) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.059228807687759,-0.077937446534634,0.015174652449787,-0.057230047881603,-0.045285578817129,0.010396806523204,-0.068573720753193,0.021072447299957,-0.043504975736141,-0.037876933813095,-0.008086878806353,0.046235688030720,0.012034554034472,0.075828135013580,0.025172261521220,-0.056438434869051) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.086937680840492,0.254595547914505,0.082986332476139,0.180858820676804,0.112966105341911,-0.021176282316446,0.289213776588440,-0.017625885084271,0.053810998797417,0.003915816079825,-0.000019617364160,-0.053902387619019,-0.039222929626703,0.204428657889366,0.112557686865330,0.039249371737242) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.161081120371819,-0.256538510322571,0.006231263745576,-0.232997074723244,-0.074262090027332,0.056143440306187,0.031690273433924,0.025685608386993,0.007905813865364,-0.090224392712116,0.065320245921612,-0.054846506565809,0.046175926923752,-0.192168831825256,0.021390838548541,-0.105278946459293) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.043392207473516,0.121800623834133,0.025928242132068,0.037741195410490,-0.080489195883274,-0.013027436099946,0.044102642685175,0.028071466833353,0.024936761707067,-0.014292367734015,0.002844016533345,-0.044044591486454,-0.037347253412008,0.141593426465988,-0.071815781295300,0.048705294728279) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.021251909434795,-0.107552535831928,-0.137306779623032,-0.043477598577738,0.004612279590219,0.059148404747248,0.051639206707478,0.016812499612570,0.062215868383646,0.022948250174522,-0.104474857449532,0.066952489316463,-0.014351333491504,-0.092927411198616,-0.110962599515915,-0.091486781835556) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.068064033985138,0.011392451822758,0.088128291070461,0.012617668136954,0.027058279141784,-0.152780443429947,-0.120834589004517,-0.015527931042016,0.032821454107761,0.105790488421917,0.007112687453628,0.097302734851837,-0.031346503645182,0.137798398733139,-0.032437276095152,0.072878047823906) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.084377013146877,0.013502194546163,-0.147896721959114,0.006681961473078,-0.016829539090395,-0.005490998271853,-0.046226330101490,0.073609709739685,0.005554240196943,-0.051749303936958,0.068709336221218,0.030224781483412,0.080651842057705,-0.218530490994453,0.060796853154898,-0.053719397634268) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.044908881187439,-0.068808399140835,0.132289454340935,0.042841795831919,0.154512956738472,-0.110031791031361,-0.002226434648037,0.001746813300997,0.060980927199125,-0.017463071271777,0.150686427950859,0.005805879831314,0.099284283816814,0.018349060788751,0.052331183105707,-0.032469552010298) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.003878913819790,-0.039518173784018,-0.009747581556439,-0.049526903778315,0.092382520437241,-0.009194131009281,-0.091504290699959,0.116854377090931,-0.004913404118270,0.034323811531067,0.065792873501778,-0.002543582580984,0.018718710169196,0.101822867989540,0.111983358860016,0.085370160639286) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.072864077985287,0.029595833271742,0.041951525956392,0.062484849244356,0.181536123156548,0.055937673896551,0.173774316906929,-0.042936656624079,-0.004696781747043,-0.128985121846199,0.167649835348129,-0.014633757062256,0.103816956281662,-0.139856413006783,0.050662413239479,-0.009029328823090) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.107834577560425,-0.079100698232651,0.040238469839096,-0.055366914719343,0.309920758008957,-0.119234547019005,0.104306809604168,0.052502531558275,-0.012490700930357,0.050364144146442,0.191716194152832,0.035077560693026,-0.015579919330776,-0.139533966779709,0.061648853123188,-0.017050825059414) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.048856832087040,-0.053571160882711,-0.062793813645840,-0.165953308343887,0.380438208580017,0.024594228714705,0.051390193402767,-0.027603697031736,-0.074012950062752,-0.012554023414850,0.028381699696183,-0.026554806157947,-0.133092805743217,0.037139907479286,0.020828183740377,0.184283778071404) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.083447962999344,0.130981475114822,0.029070196673274,0.002160539850593,0.173543035984039,0.146356135606766,0.032234199345112,0.042168382555246,0.017382329329848,-0.011781056411564,0.057794418185949,0.046948023140430,0.015635678544641,-0.165268033742905,0.133809626102448,0.019507955759764) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.028700076043606,-0.002702770521864,0.060881868004799,0.034790493547916,0.115106001496315,-0.005411862395704,0.074327923357487,0.098343797028065,0.062082149088383,-0.065417654812336,0.035887300968170,0.013453207910061,0.052624087780714,0.060812413692474,0.120099939405918,0.086910344660282) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.077929086983204,0.080331541597843,-0.045776911079884,0.029356857761741,0.199563696980476,0.025938447564840,0.054115172475576,-0.101017795503139,-0.007750173099339,0.002748080529273,0.060490563511848,0.001043731346726,-0.008708089590073,-0.041447136551142,-0.001790112932213,-0.036884184926748) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.147408127784729,0.041335992515087,0.031001925468445,-0.005638067144901,0.139953240752220,-0.041448857635260,0.210212409496307,0.073164202272892,-0.009158202446997,-0.018375780433416,0.103642620146275,0.010188139975071,0.067988872528076,0.003332080785185,-0.006620190571994,0.027319090440869) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.007434411905706,-0.041877903044224,0.030441083014011,0.091262280941010,-0.061013802886009,0.159135356545448,-0.064161173999310,-0.016529653221369,-0.029874278232455,-0.128584265708923,-0.138374507427216,-0.037451457232237,0.027056710794568,0.019720293581486,0.021486151963472,-0.044871337711811) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(-0.111115880310535,0.203549832105637,0.087635599076748,0.220929205417633,0.027217209339142,-0.209700852632523,0.101446792483330,-0.168019548058510,-0.062782973051071,0.233000531792641,0.135783359408379,0.074955411255360,0.020907029509544,0.074352741241455,0.042075224220753,0.023232404142618) * FEATURE4_texOff(vec2(-1,0));
res += mat4(0.075012519955635,-0.071291334927082,-0.055566985160112,0.106979422271252,-0.100848846137524,0.169078335165977,-0.001860074815340,0.068344041705132,0.061477515846491,-0.130935236811638,-0.061948675662279,-0.049098912626505,0.008900157175958,0.062488622963428,0.058661289513111,-0.016096875071526) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.024566745385528,-0.144762724637985,0.230419173836708,0.040229965001345,0.099785670638084,-0.058799065649509,0.109734416007996,0.050406452268362,0.039136420935392,0.052628640085459,0.191897377371788,0.039886411279440,0.035635024309158,-0.056505899876356,-0.066841095685959,0.026312792673707) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.287356972694397,0.371348112821579,-0.091706089675426,0.158532753586769,0.106062546372414,-0.079868353903294,0.032739661633968,-0.186165586113930,-0.138257935643196,0.119971096515656,-0.179232746362686,0.158116340637207,-0.038999464362860,-0.073818303644657,0.112259581685066,0.009868562221527) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.121254742145538,-0.203418746590614,0.053728345781565,0.154352053999901,-0.100300438702106,0.175402134656906,0.050350215286016,0.061314638704062,0.023497307673097,0.012664558365941,0.103456668555737,0.089204967021942,-0.152310237288475,0.277621626853943,-0.079593136906624,0.001355021609925) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.022658513858914,0.051954783499241,-0.014756137505174,0.133764430880547,-0.071537040174007,0.144953027367592,0.116806901991367,0.019385382533073,-0.026043517515063,0.137636840343475,-0.049656342715025,0.050862211734056,0.026997512206435,-0.020250698551536,0.152768298983574,-0.021922934800386) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.141171887516975,0.005312480032444,0.020908694714308,0.105032332241535,0.091981075704098,-0.163488313555717,-0.076085209846497,-0.227523684501648,0.127817511558533,-0.303290337324142,0.080176278948784,-0.143186554312706,-0.046991471201181,-0.004212114959955,0.045899044722319,0.083942793309689) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.025192577391863,-0.045137979090214,-0.068461112678051,0.070967778563499,-0.093036316335201,0.059894505888224,0.053272724151611,-0.001358029665425,-0.004728196654469,0.092128485441208,-0.075638644397259,-0.013996196910739,0.028646266087890,-0.013136554509401,0.132121726870537,0.026287773624063) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.092400014400482,0.000718480092473,0.015246124938130,-0.040828183293343,-0.003578132949769,0.055146358907223,0.094234362244606,-0.043161783367395,-0.046669621020555,-0.011451696045697,-0.030180118978024,-0.062001395970583,-0.048166662454605,-0.085383526980877,-0.045380003750324,-0.074382096529007) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.008234903216362,0.045825418084860,0.020332917571068,0.018561927601695,-0.020337654277682,0.025299470871687,-0.007237025536597,0.005955351050943,-0.084085814654827,0.076090604066849,0.062898032367229,0.040806986391544,-0.162195324897766,0.228504240512848,-0.018176678568125,0.051071729511023) * FEATURE5_texOff(vec2(-1,0));
res += mat4(0.018203485757113,-0.077772907912731,-0.006361687555909,0.066775940358639,0.003268573665991,-0.093401722609997,-0.028489252552390,-0.007032816298306,0.093229874968529,-0.187729567289352,0.004220233298838,0.005834731739014,-0.052835512906313,0.044398989528418,0.089021444320679,0.014728706330061) * FEATURE5_texOff(vec2(-1,1));
res += mat4(-0.010997690260410,0.041703611612320,0.079325757920742,0.075396716594696,-0.049227233976126,-0.111417934298515,-0.103189930319786,-0.015698574483395,-0.011231223121285,-0.024734919890761,0.135604530572891,0.057299967855215,-0.058826357126236,0.112620666623116,-0.029140885919333,0.068294167518616) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.094482019543648,0.001236833515577,-0.040701486170292,0.055978160351515,-0.024848984554410,0.044659949839115,-0.047282688319683,0.016967518255115,0.007416031323373,-0.103057414293289,-0.114561557769775,-0.106909908354282,0.270744055509567,-0.377796828746796,0.036735396832228,-0.316871345043182) * FEATURE5_texOff(vec2(0,0));
res += mat4(0.001317488495260,-0.103312864899635,0.084067299962044,0.045157141983509,0.001486370805651,-0.026234280318022,0.003788377624005,-0.033963173627853,0.008653613738716,-0.001862915116362,0.153513401746750,0.094339780509472,-0.050587069243193,0.050425637513399,0.069503113627434,-0.119999378919601) * FEATURE5_texOff(vec2(0,1));
res += mat4(0.155784770846367,-0.061667710542679,0.003323332173750,0.064049549400806,0.002791111124679,-0.003097354900092,0.112720035016537,-0.001731137279421,-0.085341908037663,-0.023090550675988,0.046619709581137,0.012179164215922,-0.032150704413652,-0.017191324383020,0.010761137120426,0.017448816448450) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.105437405407429,-0.028889656066895,0.017777755856514,-0.038864765316248,-0.005299231968820,-0.083567224442959,0.048013392835855,-0.039032414555550,-0.021854773163795,0.074793435633183,0.002469507744536,0.063457213342190,0.061620283871889,0.072861172258854,0.034966785460711,-0.043344251811504) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.014696069993079,0.092915482819080,-0.097951106727123,0.110395647585392,-0.007408561650664,0.036530338227749,-0.026482488960028,0.026700455695391,0.016342274844646,0.089488707482815,-0.001870178268291,-0.006133468355983,0.007407833356410,-0.011172485537827,0.002317490754649,0.019845873117447) * FEATURE5_texOff(vec2(1,1));
res += mat4(0.023746335878968,-0.005410390440375,-0.160417884588242,-0.053473658859730,-0.000866415677592,-0.002616671612486,0.083818599581718,0.030240610241890,0.009784367866814,0.099455945193768,0.196859389543533,-0.038813039660454,0.188815996050835,0.040161740034819,0.001262226374820,-0.023701572790742) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.002707122126594,0.062133364379406,-0.013867038302124,0.039307828992605,0.098599188029766,0.003784460015595,-0.013403938151896,-0.034638669341803,-0.032924216240644,-0.097497418522835,0.011280720122159,-0.027658645063639,0.189008757472038,-0.169001221656799,0.055317409336567,0.006456762552261) * FEATURE6_texOff(vec2(-1,0));
res += mat4(0.039098113775253,-0.032196529209614,0.018419926986098,0.015162953175604,0.053381908684969,0.042068663984537,-0.088173128664494,-0.008698744699359,-0.068632848560810,-0.005720834247768,-0.009814609773457,0.031523294746876,0.176723659038544,-0.128071352839470,0.008554318919778,0.004546824842691) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.018149837851524,0.072047740221024,0.100079521536827,0.069314934313297,-0.005155202932656,-0.040551133453846,-0.092923127114773,-0.068832129240036,-0.101205118000507,-0.098650492727757,-0.095876187086105,-0.034613672643900,-0.074030078947544,0.047901783138514,0.036077994853258,0.103188864886761) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.031797271221876,-0.038864947855473,-0.042562849819660,-0.076946467161179,-0.038070075213909,0.079631805419922,-0.035699829459190,0.092801816761494,-0.123808898031712,0.313801109790802,-0.096288681030273,0.312583774328232,-0.160712748765945,0.095879703760147,-0.062454108148813,0.244916409254074) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.008129104971886,0.023936513811350,-0.005546597298235,0.043270174413919,-0.013228132389486,-0.014978344552219,-0.023882096633315,-0.020579641684890,0.097842782735825,-0.164017513394356,-0.017963919788599,-0.076655179262161,0.034333601593971,-0.128990948200226,-0.063841708004475,0.144563138484955) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.004437448922545,0.011775005608797,-0.029616527259350,-0.033870164304972,0.004878484178334,0.059444699436426,-0.118697233498096,-0.015137425623834,-0.039977557957172,0.028424901887774,0.012238792143762,-0.018189495429397,0.138623982667923,0.030208382755518,0.151774868369102,0.089641749858856) * FEATURE6_texOff(vec2(1,-1));
res += mat4(-0.020799564197659,-0.066682264208794,-0.067732743918896,-0.054101273417473,0.021936595439911,-0.039039429277182,0.042426344007254,0.004239345900714,0.016564194113016,-0.167491406202316,0.060465138405561,-0.055563904345036,-0.007689765654504,0.047995336353779,-0.082653060555458,0.084469661116600) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.068562656641006,-0.016258727759123,-0.196679815649986,0.059361118823290,0.044892020523548,-0.052395045757294,0.003920791205019,-0.058840855956078,0.003128629410639,0.105648279190063,-0.050494719296694,0.010887275449932,0.082494020462036,-0.031487379223108,-0.020994704216719,0.084248349070549) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.000271415512543,0.753839075565338,0.348408252000809,-0.003653557971120) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 1_3

vec4 hook()
{
vec4 res = vec4(-0.128294274210930,-0.674255073070526,-0.132442995905876,-0.035404980182648);
res += mat4(-0.010649752803147,-0.058452431112528,0.009982286952436,-0.091437168419361,-0.019866816699505,0.030622249469161,0.008235411718488,-0.034281570464373,0.068604454398155,0.160342752933502,-0.030661204829812,-0.063277900218964,0.016689278185368,0.005210464354604,0.012974353507161,0.001489395042881) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.149733483791351,0.024901075288653,-0.009257088415325,-0.002989456523210,-0.011894041672349,0.065358623862267,-0.054443672299385,0.054191600531340,-0.042893011122942,-0.097879603505135,0.035425260663033,0.059971317648888,-0.069447793066502,-0.033585235476494,-0.000373220711481,0.021282579749823) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.093428961932659,0.098341710865498,0.098081111907959,0.006689331959933,-0.043414253741503,0.043311376124620,0.040639955550432,-0.016865860670805,0.039976801723242,0.044271755963564,-0.062502242624760,-0.001592720975168,-0.025453502312303,-0.068984664976597,0.086974091827869,-0.035595037043095) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.047110773622990,0.027612699195743,-0.001983322901651,0.029855826869607,0.130858153104782,-0.020502725616097,-0.028865002095699,-0.085677266120911,0.014189013279974,-0.035067744553089,-0.004591897595674,0.040922936052084,0.040785972028971,0.019092002883554,0.019124289974570,0.029720051214099) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.029458267614245,-0.028147498145700,-0.003039018251002,-0.058576226234436,-0.019179757684469,0.001572063891217,0.055137950927019,-0.071499899029732,0.179300263524055,0.056468613445759,-0.139576151967049,-0.186867669224739,0.036368720233440,-0.008282925002277,-0.059539012610912,-0.044400960206985) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.013923451304436,0.007666012272239,-0.040554136037827,0.069977082312107,0.091349817812443,0.043841246515512,-0.106610856950283,0.139572307467461,-0.145196437835693,-0.044493854045868,0.134920164942741,0.067566066980362,-0.030611816793680,-0.001113452948630,0.009841104038060,0.040219794958830) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.021845791488886,-0.009163020178676,-0.072350703179836,0.076380960643291,-0.121947504580021,-0.019716901704669,0.081079311668873,0.088193096220493,0.052730031311512,-0.051702052354813,0.009567623026669,-0.042792737483978,0.020057968795300,-0.009216113016009,0.013049091212451,-0.057673528790474) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.006824489217252,0.046373698860407,0.002553116763011,0.012762879021466,0.085930980741978,0.010423995554447,0.031892746686935,0.149633496999741,-0.035792868584394,0.101214244961739,0.051579356193542,0.077691391110420,0.024681992828846,-0.042494852095842,-0.023930372670293,-0.032063961029053) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.003159067593515,-0.050755895674229,0.026362231001258,-0.055784851312637,0.000430841173511,-0.023343145847321,-0.018317757174373,-0.082733705639839,0.084077812731266,-0.038525786250830,-0.074566908180714,0.026862345635891,0.021516924723983,-0.021604094654322,-0.014938390813768,0.033802449703217) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.171074941754341,-0.133481368422508,0.085553959012032,0.004649758338928,0.038247961550951,0.090867236256599,-0.022173780947924,0.089963510632515,0.082569971680641,0.002029851078987,0.036043666303158,0.004548185039312,-0.061467792838812,-0.043426606804132,0.006970024667680,0.037545442581177) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.190136596560478,-0.105033807456493,-0.156901448965073,-0.152225852012634,-0.060639269649982,0.071587666869164,0.078463777899742,-0.024208087474108,0.086715102195740,-0.094914764165878,-0.152756974101067,-0.006167721468955,0.045635290443897,0.044988475739956,-0.064483061432838,-0.070626832544804) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.071263715624809,0.032491274178028,0.114134721457958,-0.052283342927694,0.070142008364201,-0.035596691071987,-0.056153140962124,0.022170571610332,-0.110842421650887,-0.126233980059624,0.060603264719248,-0.131302818655968,-0.033348634839058,-0.045368224382401,0.001146994298324,-0.000209934776649) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.075955741107464,-0.133271932601929,-0.186722144484520,-0.122813723981380,-0.006222974509001,-0.055855091661215,0.045992013067007,0.120634287595749,-0.012043020687997,0.060471415519714,0.026105545461178,0.059613734483719,0.053465288132429,0.028407184407115,-0.098759263753891,0.001320996787399) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.257897317409515,-0.019154343754053,0.187541350722313,0.057865060865879,0.067876085639000,0.009255055338144,-0.046733856201172,-0.121184229850769,-0.011548134498298,0.047633681446314,0.044287297874689,0.103825561702251,-0.088556699454784,-0.032892279326916,0.041937351226807,-0.005643638316542) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.142259016633034,0.008210542611778,-0.038889046758413,0.179584532976151,0.042980711907148,-0.056940522044897,-0.049825247377157,-0.072487093508244,0.007688915356994,0.026586545631289,0.050889316946268,-0.033339861780405,0.036717168986797,0.002496370114386,-0.061598006635904,-0.044258859008551) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.057231657207012,-0.014852143824100,-0.010648199357092,0.041006624698639,0.007415853440762,-0.013512333855033,-0.026481568813324,0.055815987288952,0.049201674759388,0.070646762847900,0.012542344629765,0.010997408069670,-0.032489020377398,0.004004178568721,0.007183823268861,0.049776442348957) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.070014081895351,0.082739703357220,0.008578785695136,-0.084615707397461,-0.056225217878819,-0.033104564994574,0.029464116320014,-0.046591069549322,0.036426778882742,-0.041265144944191,-0.014241521246731,-0.077007278800011,0.039647281169891,0.031541038304567,-0.054318368434906,-0.044333089143038) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.022973475977778,0.058086246252060,0.038848526775837,0.096552997827530,0.085398778319359,0.097903631627560,-0.084403492510319,-0.030183773487806,0.037165790796280,-0.052966319024563,0.038171809166670,0.038788467645645,-0.042637351900339,0.041922148317099,0.042928382754326,0.060396395623684) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.046293560415506,-0.058928012847900,0.015569172799587,-0.052627790719271,0.014818107709289,-0.104317784309387,0.068047776818275,0.079071737825871,0.028119524940848,0.011881729587913,0.036509890109301,0.035148743540049,0.089899204671383,0.113656401634216,0.031927008181810,0.023928629234433) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.099131509661674,0.091679610311985,-0.013053769245744,0.115655496716499,0.217224732041359,-0.098265759646893,0.071026504039764,0.133485391736031,0.036685895174742,-0.019639356061816,0.028047742322087,-0.070803530514240,0.058883272111416,-0.024053309112787,-0.015023865737021,0.028731839731336) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.000572547374759,0.055221568793058,-0.033864293247461,-0.060806382447481,0.176878467202187,-0.001739031285979,0.055187013000250,-0.101914197206497,-0.071123532950878,-0.095918647944927,0.069166243076324,-0.135412275791168,-0.130136147141457,0.025787739083171,0.053375214338303,-0.033030472695827) * FEATURE3_texOff(vec2(-1,1));
res += mat4(-0.046572010964155,0.086708255112171,0.122007250785828,0.148692429065704,0.013976026326418,0.010551121085882,0.085728891193867,0.164909660816193,0.047575991600752,-0.014107171446085,-0.004701923578978,0.041741661727428,-0.003716518869624,0.049093410372734,0.023985972627997,-0.002437406219542) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.004716569092125,0.014010792598128,0.070063732564449,0.132736057043076,-0.068441160023212,0.108083397150040,0.162005990743637,0.176874458789825,0.019026229158044,-0.030071318149567,-0.017868559807539,-0.038747929036617,0.077868476510048,-0.084521338343620,-0.145868077874184,-0.264475852251053) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.005943876225501,0.024640530347824,-0.015561519190669,-0.178707957267761,0.148294135928154,-0.039583608508110,0.025052964687347,0.207139626145363,-0.050890900194645,-0.029108434915543,-0.017897680401802,-0.039322927594185,-0.111906073987484,-0.060613092035055,0.007273430936038,-0.040451698005199) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.011590802110732,0.111853197216988,0.028828624635935,-0.084939531981945,0.002758091315627,0.032991565763950,0.074690975248814,0.038543701171875,-0.027697926387191,0.042873263359070,0.047199085354805,-0.013694117777050,0.029424246400595,0.003538967808709,0.060519993305206,-0.000202952447580) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.032586373388767,-0.015224328264594,-0.011469549499452,-0.085750490427017,0.134352311491966,0.149525150656700,0.144413650035858,-0.003309853840619,0.018229272216558,-0.029984384775162,0.014635522849858,0.008283181115985,0.013664208352566,0.023836772888899,-0.010993057861924,0.038422372192144) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.005090922582895,0.033498372882605,-0.067299380898476,-0.007763482630253,0.022883713245392,0.060387842357159,-0.017365070059896,0.116025120019913,-0.017913110554218,-0.001445064786822,0.032283429056406,-0.001874021603726,-0.043975219130516,-0.026372084394097,0.051969323307276,0.013091547414660) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.075123965740204,0.329369157552719,-0.046306051313877,0.006117654033005,-0.083712622523308,-0.179154500365257,-0.094250537455082,-0.125659316778183,-0.060026410967112,0.024382567033172,0.059487223625183,0.116987511515617,0.083264149725437,0.089226230978966,0.026560349389911,0.027599919587374) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.033777199685574,0.087482914328575,-0.110221080482006,-0.144575476646423,0.003804820822552,0.143327325582504,0.066239602863789,0.043523635715246,0.083737529814243,-0.105152167379856,-0.033274743705988,-0.143180415034294,0.108796834945679,0.169106468558311,-0.011376460082829,0.017935980111361) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.279791414737701,0.080022208392620,-0.073547884821892,0.025377057492733,0.077696852385998,0.169245108962059,-0.099394991993904,-0.102900318801403,-0.045488487929106,0.005416943691671,0.029133813455701,0.046556815505028,0.016446026042104,0.047327011823654,0.054863274097443,-0.039719745516777) * FEATURE4_texOff(vec2(-1,1));
res += mat4(0.083350338041782,0.175245821475983,-0.044649973511696,-0.067765764892101,-0.092599488794804,-0.192555531859398,0.020877089351416,-0.016179988160729,-0.010080013424158,-0.181450366973877,0.029549257829785,0.036525446921587,0.017604965716600,0.129043668508530,0.051517918705940,0.137255564332008) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.035770274698734,-0.001786371925846,-0.307480067014694,-0.356808394193649,0.025479527190328,0.090853400528431,0.096455723047256,0.127988249063492,0.091080479323864,-0.102107957005501,-0.193071708083153,-0.086307033896446,-0.010366487316787,0.021124698221684,0.017349600791931,-0.099982559680939) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.217196479439735,0.023197468370199,-0.121983110904694,-0.226963654160500,0.245029255747795,0.049270175397396,-0.079809419810772,-0.067920528352261,0.050782609730959,0.019480865448713,0.067572675645351,-0.134818270802498,0.127621129155159,-0.001017963630147,-0.142319604754448,0.045003578066826) * FEATURE4_texOff(vec2(0,1));
res += mat4(-0.008038568310440,0.107550024986267,-0.083790428936481,0.009692132472992,0.006544384639710,-0.051556508988142,-0.060760252177715,-0.042244803160429,0.140031024813652,-0.227629587054253,-0.101852633059025,-0.000431775959441,0.021484440192580,0.028596285730600,0.011295476928353,0.033153958618641) * FEATURE4_texOff(vec2(1,-1));
res += mat4(0.078206665813923,0.067975252866745,-0.219777375459671,-0.207391500473022,-0.217566892504692,0.063464142382145,0.157145768404007,0.098233692348003,-0.056337088346481,0.002643591724336,0.153887465596199,0.068984791636467,0.047306135296822,0.024972168728709,-0.016063056886196,-0.004613702185452) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.087973766028881,0.063811711966991,-0.067532211542130,-0.034574195742607,0.096063837409019,0.058680616319180,-0.020694078877568,0.050243411213160,0.139563813805580,0.005746043287218,-0.025650732219219,0.177611544728279,0.112567558884621,-0.048718668520451,0.006294531747699,-0.026119902729988) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.028111364692450,0.215356484055519,0.070590913295746,0.121368460357189,0.007697122171521,0.024666672572494,-0.030106203630567,-0.060814514756203,0.002461389871314,-0.003078079316765,-0.025100309401751,-0.006373423151672,-0.138846114277840,-0.204006254673004,0.023563968017697,-0.010110017843544) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(-0.001838709693402,-0.017850264906883,0.038806311786175,0.042405251413584,-0.036726061254740,-0.025630919262767,-0.018774498254061,-0.021303195506334,0.075899370014668,-0.050312522798777,-0.102168738842010,-0.051988419145346,0.158301562070847,-0.213753655552864,-0.180319070816040,-0.006096633151174) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.059469435364008,0.024389866739511,-0.086713276803493,-0.031310357153416,-0.037673898041248,0.017171803861856,0.006305810529739,0.055342078208923,-0.008310934528708,-0.008568115532398,-0.033948894590139,0.073744840919971,0.077910050749779,0.041065737605095,-0.004015391692519,-0.007125431206077) * FEATURE5_texOff(vec2(-1,1));
res += mat4(-0.001596375717781,-0.034290410578251,-0.040155183523893,0.027593370527029,-0.031673990190029,0.000333046948072,0.000023746906663,-0.018454683944583,-0.014088330790401,0.013369073159993,0.016965631395578,-0.058874487876892,-0.026876112446189,-0.096417546272278,-0.119131453335285,-0.194906905293465) * FEATURE5_texOff(vec2(0,-1));
res += mat4(0.075106501579285,0.022617448121309,-0.085319846868515,-0.050398588180542,-0.022585596889257,0.021712653338909,-0.006834893487394,-0.094656616449356,-0.026399159803987,0.027891889214516,0.083634808659554,0.076843783259392,-0.285753041505814,0.055157918483019,0.305777400732040,0.081568561494350) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.079809635877609,-0.009140038862824,0.086963936686516,-0.054636560380459,-0.039031490683556,-0.010123466141522,-0.020401569083333,0.045020367950201,0.079759493470192,-0.007049974054098,0.025638537481427,-0.120111517608166,0.103798896074295,-0.009197757579386,0.061863031238317,0.166812449693680) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.015008392743766,0.061587512493134,0.036791309714317,-0.018750023096800,-0.017591020092368,0.037744402885437,-0.023347385227680,0.040058322250843,0.042885791510344,0.055575214326382,-0.072628691792488,0.006400093901902,-0.030229058116674,0.036169182509184,-0.010086057707667,0.034607324749231) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.018338672816753,0.021908916532993,0.026396276429296,0.125045567750931,-0.015894070267677,0.015241448767483,0.007442996837199,-0.022607984021306,0.037550255656242,-0.039074931293726,0.055758416652679,-0.040630225092173,-0.000216657150304,0.092325054109097,0.056805104017258,-0.099941365420818) * FEATURE5_texOff(vec2(1,0));
res += mat4(0.063746728003025,0.005091869272292,-0.060723550617695,-0.022529818117619,-0.009161558933556,-0.003797677345574,-0.014887171797454,-0.055388320237398,0.011560009792447,0.067469894886017,0.050533615052700,0.014444557018578,0.032678630203009,-0.025032034143806,0.021044809371233,-0.064927726984024) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.033637255430222,0.059561699628830,0.011404700577259,-0.022738447412848,0.058817364275455,0.039235934615135,0.012192687951028,0.027555977925658,0.085050649940968,0.291950434446335,0.062189519405365,-0.007267376407981,-0.057486642152071,0.306577563285828,0.075895309448242,0.121182762086391) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.051450524479151,0.014512141235173,-0.019527681171894,-0.018777079880238,-0.035651564598083,0.067232646048069,0.087203271687031,-0.071518965065479,-0.172352045774460,-0.081665009260178,0.066030263900757,0.031527347862720,-0.063951253890991,0.138865560293198,0.152719542384148,0.169396236538887) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.011502564884722,-0.003442215500399,0.026667039841413,0.154182255268097,-0.014200700446963,-0.039845447987318,-0.046113368123770,0.084778621792793,-0.022918831557035,0.033683683723211,-0.041713826358318,-0.031460929661989,-0.010305442847311,-0.073911450803280,0.102963775396347,0.050933282822371) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.012646925635636,-0.044362436980009,-0.011095322668552,0.079032175242901,-0.018262902274728,0.014882257208228,0.039564061909914,0.013579175807536,0.039728578180075,-0.028745202347636,-0.008657122962177,0.087973356246948,0.102453805506229,0.112343691289425,-0.082859493792057,0.039830695837736) * FEATURE6_texOff(vec2(0,-1));
res += mat4(0.011451444588602,0.066674619913101,-0.002950644819066,-0.075182527303696,0.010853885672987,-0.112090282142162,-0.011165227741003,-0.071801118552685,0.202941983938217,-0.128720089793205,-0.136790201067924,-0.185125082731247,0.072383560240269,0.009964121505618,-0.112824603915215,-0.299932628870010) * FEATURE6_texOff(vec2(0,0));
res += mat4(0.040994890034199,-0.102784231305122,-0.057111140340567,-0.025902621448040,-0.034493051469326,0.002526746829972,-0.027795057743788,-0.029139347374439,-0.089204736053944,0.036074738949537,0.103446558117867,0.004015971906483,-0.151902869343758,-0.145676732063293,-0.011745609343052,-0.090924397110939) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.037490457296371,-0.004014011472464,-0.050634734332561,0.032710239291191,0.043086297810078,0.011682697571814,-0.024182720109820,0.009922369383276,-0.020546637475491,-0.105026483535767,0.041583601385355,-0.062083568423986,-0.008338422514498,-0.000245556846494,0.055131565779448,0.089792802929878) * FEATURE6_texOff(vec2(1,-1));
res += mat4(-0.063276186585426,-0.039867315441370,0.013452215120196,-0.020389018580317,0.030008155852556,0.018555734306574,-0.007600027136505,0.022526456043124,0.022560367360711,-0.055776532739401,0.025013597682118,0.202395752072334,0.056699108332396,-0.024252280592918,-0.127414599061012,-0.018415076658130) * FEATURE6_texOff(vec2(1,0));
res += mat4(0.053449232131243,-0.021659947931767,-0.056956417858601,0.034343402832747,-0.078056603670120,-0.017409099265933,0.031590778380632,-0.028030978515744,0.025633245706558,0.012348857708275,-0.061514176428318,0.028811307623982,0.008251726627350,-0.015617660246789,-0.027132814750075,0.049036305397749) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.007328845094889,-0.001669798628427,-0.013483514077961,0.278182148933411) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 1_4

vec4 hook()
{
vec4 res = vec4(0.096804715692997,-0.023451784625649,-0.112030096352100,-0.133480221033096);
res += mat4(0.027552746236324,-0.046716321259737,-0.000025867844670,0.028395012021065,-0.038320302963257,-0.102660454809666,-0.001445035566576,-0.028793783858418,-0.123051092028618,-0.008081259205937,-0.000683567428496,-0.068407796323299,-0.084527336061001,0.001562506658956,0.000018646707758,0.009113870561123) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.013359854929149,0.063323467969894,0.000197404791834,0.087358348071575,-0.024138452485204,0.015943584963679,-0.001207527937368,0.037742950022221,0.015837647020817,-0.189066618680954,-0.000103271289845,0.036463119089603,-0.047694314271212,-0.004312732722610,0.000156131427502,-0.045711882412434) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.027281017974019,-0.074800603091717,-0.000031774532545,-0.166232496500015,0.078469388186932,-0.065130412578583,-0.001229077810422,-0.023414971306920,-0.049963273108006,-0.000244850816671,-0.000400457996875,0.023196224123240,-0.032515287399292,-0.026270676404238,-0.000132657572976,-0.035630237311125) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.036256637424231,0.038857415318489,-0.000001457523467,-0.115418635308743,-0.030658854171634,0.024901481345296,-0.000932396331336,-0.022504456341267,0.007853494957089,0.027157044038177,-0.000069395260653,-0.001098266919143,-0.045508559793234,-0.084451548755169,-0.000007114081200,0.100519403815269) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.057025063782930,-0.023768270388246,0.000166142010130,0.003066713688895,0.001096665393561,0.070354282855988,-0.001156924408861,-0.019814759492874,-0.053900394588709,0.119973905384541,-0.000206351483939,-0.081089079380035,-0.064349219202995,0.041372384876013,0.000847343180794,-0.027489459142089) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.078164562582970,0.035977281630039,0.000136147573357,0.042884010821581,0.060245368629694,0.142572760581970,-0.001301380223595,0.002134998096153,-0.008700957521796,-0.179525807499886,-0.000456043781014,0.012882378883660,-0.081486299633980,0.027894109487534,0.000341603503330,-0.002524784533307) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.035733003169298,-0.004211085382849,0.000289933959721,-0.096573255956173,0.153568819165230,-0.214827761054039,-0.001280975295231,0.012612760066986,-0.080679900944233,0.031694777309895,-0.000072520153481,-0.061516933143139,0.088660515844822,0.071081630885601,0.000109490800241,-0.063784293830395) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.054389987140894,-0.036079652607441,-0.000026634876122,-0.046551216393709,0.030348857864738,-0.148927807807922,-0.001698880805634,0.020291358232498,-0.048946872353554,-0.347072690725327,-0.000157817543368,0.112232610583305,0.065306968986988,-0.118702068924904,0.000433057139162,0.120381936430931) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.032541934400797,0.082806207239628,0.000223766430281,0.103094585239887,0.031723577529192,-0.067483820021152,-0.002156187081710,0.024297146126628,-0.084158748388290,0.165747642517090,-0.000009401142961,-0.125629201531410,0.007388725876808,-0.012483199127018,0.000012515422895,0.093491189181805) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.076197326183319,-0.205977573990822,0.000650406698696,-0.042523771524429,-0.067028313875198,0.046966996043921,0.000262092507910,-0.051212087273598,0.145560741424561,-0.057891044765711,-0.001883601536974,0.008220274932683,0.078683450818062,-0.049866989254951,-0.000371857342543,-0.052650343626738) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.013945640996099,0.226904198527336,0.000005911504559,0.035134881734848,0.017902357503772,-0.038399636745453,0.000084495091869,0.001297819777392,-0.037370100617409,0.098670549690723,-0.000752885185648,0.033354002982378,0.006101681385189,0.058518406003714,-0.000296805606922,0.080287791788578) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.042216341942549,-0.070529893040657,0.000035683675378,0.079782404005527,-0.012380447238684,0.029499983415008,0.000323505228152,0.160187944769859,-0.009808501228690,-0.012768992222846,-0.001258077099919,-0.038102705031633,-0.001164105953649,0.005161412991583,-0.000011965520571,0.035283099859953) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.102201484143734,0.195887029170990,0.000602788873948,-0.167060658335686,0.161020353436470,-0.022864324972034,0.000356123928213,-0.052674997597933,0.030277680605650,0.039795905351639,0.001639230293222,-0.129598185420036,0.020012032240629,0.111333601176739,-0.000369030924048,-0.113048590719700) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.092825561761856,-0.247104749083519,-0.000442701770226,0.016946839168668,0.035705711692572,0.042993750423193,0.000074278650573,0.020551785826683,-0.013346785679460,-0.154113903641701,0.004181601107121,-0.000425950041972,0.057890761643648,-0.154546558856964,-0.000433854496805,-0.029600856825709) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.042518708854914,0.025970360264182,0.000218921166379,0.111994713544846,-0.011050442233682,-0.082505457103252,-0.000026074216294,0.075038142502308,-0.078091032803059,-0.014025215990841,0.004940118175000,0.111278109252453,-0.012941312976182,-0.011466149240732,-0.000330857525114,0.072577700018883) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.021961640566587,-0.186322793364525,0.001174421748146,0.198273181915283,-0.111728824675083,-0.045087020844221,0.000088206295914,0.011303361505270,-0.106300547719002,0.174495026469231,-0.003082085633650,-0.073324881494045,0.007049911655486,-0.079633668065071,-0.000166102079675,0.110559076070786) * FEATURE2_texOff(vec2(1,-1));
res += mat4(-0.044804915785789,0.259606420993805,-0.000393271067878,-0.236207097768784,-0.078905239701271,-0.066021449863911,0.000090578127129,0.034135110676289,-0.009650695137680,-0.069669485092163,-0.001621377887204,-0.217938005924225,0.025822967290878,0.126870587468147,-0.000085387910076,-0.110656581819057) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.039993312209845,0.006259308196604,0.000046515164286,-0.030757522210479,-0.105509728193283,-0.054420858621597,0.000409036380006,-0.096874222159386,-0.010332837700844,0.086892448365688,-0.000527689058799,0.206846624612808,0.038484498858452,0.086113892495632,0.000017247455617,-0.097446553409100) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.013597859069705,0.006126030348241,0.003108268370852,0.000675764749758,0.069913752377033,-0.060624390840530,-0.005405283067375,-0.014412647113204,0.049826506525278,0.040683817118406,0.000417994189775,-0.034784618765116,-0.062910415232182,0.044879186898470,-0.001664724783041,0.045453313738108) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.017127741128206,0.000404013640946,0.001347328070551,-0.030964812263846,0.039979454129934,-0.199881583452225,-0.005859247874469,0.025349359959364,-0.047797989100218,0.019331041723490,0.000805625109933,-0.033880330622196,-0.016716886311769,0.108505517244339,-0.000111557601485,0.038059968501329) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.031398497521877,0.052891246974468,0.002522682305425,-0.032721497118473,0.133024096488953,-0.038245677947998,-0.006095319986343,-0.018639013171196,0.007026750128716,0.012419877573848,-0.000225963085541,-0.074410267174244,-0.046471226960421,-0.095899336040020,0.000650123227388,0.026519063860178) * FEATURE3_texOff(vec2(-1,1));
res += mat4(-0.028631385415792,-0.122350603342056,0.000505448260810,0.016057413071394,0.087661340832710,0.092755533754826,-0.004686157219112,0.024625297635794,-0.015174181200564,0.057002726942301,0.000272725766990,-0.038581751286983,-0.033533353358507,0.139992311596870,-0.001272504334338,0.007334949914366) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.012970407493412,-0.017602628096938,0.000991070643067,-0.004277800675482,0.059857588261366,-0.236943542957306,-0.005130097270012,0.027878124266863,-0.030472224578261,-0.025867296382785,0.000872951699421,-0.039956197142601,0.013338690623641,0.015573233366013,-0.000027494997994,0.014085059054196) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.054038099944592,-0.013843296095729,0.000877365877386,0.062878288328648,-0.013928121887147,-0.017060328274965,-0.005396817810833,0.047804154455662,-0.018448425456882,-0.078127875924110,-0.000153705550474,-0.026748994365335,0.051463603973389,-0.027724817395210,0.000580659543630,-0.020996822044253) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.113856315612793,0.067891620099545,-0.000892844516784,0.076268211007118,-0.056726351380348,0.008423702791333,-0.004629756789654,0.076741307973862,-0.165349438786507,-0.004527478013188,-0.000504250347149,0.030285852029920,-0.062459889799356,-0.017254937440157,-0.001313352258876,0.030322028324008) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.055497162044048,0.201994866132736,-0.002003876725212,-0.110971003770828,0.063431046903133,0.117759287357330,-0.004959136247635,-0.044234521687031,-0.022393951192498,-0.010666258633137,0.000371760921553,-0.002288875170052,0.013655297458172,-0.173720344901085,-0.000832464429550,-0.015436630696058) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.003451947821304,0.018372973427176,-0.002000685082749,0.051157712936401,-0.008556552231312,0.059993132948875,-0.005156852304935,0.017343616113067,-0.004362007603049,0.037249218672514,0.000026063748010,0.027911219745874,-0.026448322460055,-0.045307543128729,-0.000266526621999,0.038001347333193) * FEATURE3_texOff(vec2(1,1));
res += mat4(-0.006182865705341,-0.074732646346092,0.001675471430644,0.039869595319033,-0.192672133445740,0.096022538840771,0.001210745540448,-0.094787418842316,-0.062293224036694,-0.014155696146190,-0.004904963541776,0.017257785424590,-0.134684562683105,-0.044763855636120,0.000384116225177,0.005977024789900) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.003640145529062,0.039905048906803,0.002699602628127,0.050869826227427,0.096613191068172,-0.336323857307434,0.000159144095960,0.090700708329678,0.063551679253578,0.086540006101131,-0.004110978916287,0.065181463956833,0.021982420235872,0.117931477725506,0.000329807371600,0.015707995742559) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.046374853700399,0.028168581426144,0.003408752148971,-0.050829812884331,0.076903879642487,0.152646824717522,0.001625643111765,0.139178574085236,0.133134856820107,-0.025099208578467,-0.003500627586618,-0.063060753047466,0.089845702052116,0.040526255965233,-0.000169804814504,-0.013578177429736) * FEATURE4_texOff(vec2(-1,1));
res += mat4(0.026205187663436,0.124198436737061,0.000637770048343,-0.036012541502714,0.144010096788406,-0.061379551887512,0.003192109055817,-0.045163769274950,0.017815824598074,0.186267241835594,-0.001089925179258,-0.064756996929646,-0.022802576422691,0.015761137008667,0.000001838521030,-0.051961049437523) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.075462259352207,-0.045193184167147,0.001662163063884,0.078470744192600,-0.026315014809370,0.233238503336906,0.000913177907933,-0.107598274946213,-0.022060692310333,-0.085038296878338,-0.001250811503269,0.047025185078382,-0.025369616225362,-0.023061007261276,0.000326793960994,0.000141217082273) * FEATURE4_texOff(vec2(0,0));
res += mat4(0.175292432308197,0.019845781847835,0.002341774757951,-0.023488663136959,-0.022381883114576,-0.052901569753885,0.002078879158944,0.217194870114326,0.102332361042500,0.050130479037762,-0.000832863210235,-0.075906649231911,-0.102693103253841,-0.070747286081314,-0.000307819689624,0.103226490318775) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.034712243825197,0.082703232765198,0.000349751935573,-0.004096203483641,-0.072233721613884,0.019649293273687,0.002271124394611,0.105232365429401,0.056225221604109,-0.128913834691048,0.003420236054808,-0.025387635454535,0.161899909377098,0.075120188295841,0.000414000853198,-0.026975242421031) * FEATURE4_texOff(vec2(1,-1));
res += mat4(0.007032291963696,-0.209390565752983,0.001058435067534,0.074899271130562,0.139215558767319,-0.219145402312279,0.000161417876370,-0.069784156978130,0.117589071393013,-0.204345211386681,0.003074841573834,-0.039023175835609,0.027416573837399,0.027077870443463,0.001332418760285,-0.039919521659613) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.038309659808874,0.059983231127262,0.001742180436850,0.118381947278976,-0.079763092100620,0.025055501610041,0.000747217389289,0.047654539346695,-0.061310980468988,-0.118221208453178,0.003900747047737,0.210681200027466,-0.050788193941116,-0.083902224898338,0.000222106042202,-0.016210030764341) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.120222747325897,-0.036542143672705,0.000087788561359,-0.014125304296613,-0.063534058630466,0.015047186985612,0.000018175454898,0.025875683873892,0.136069163680077,0.002189800376073,0.000024563218176,-0.027966244146228,0.044987678527832,-0.034701868891716,0.002131123095751,-0.018725465983152) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.066345803439617,0.039320524781942,0.000656389223877,-0.067094907164574,-0.044941768050194,0.083335928618908,0.000071750626375,0.018611652776599,0.042116492986679,0.128449141979218,-0.000074025483627,-0.003574670292437,0.020398164168000,-0.008866314776242,0.001583745470271,0.040887560695410) * FEATURE5_texOff(vec2(-1,0));
res += mat4(0.033077374100685,0.080746531486511,0.001006322214380,-0.051737662404776,-0.106811396777630,-0.045231774449348,-0.000128568237415,0.070239774882793,-0.092881165444851,-0.032520700246096,-0.000036586716305,0.157001182436943,0.001387641066685,-0.019000295549631,0.001710064010695,0.087443560361862) * FEATURE5_texOff(vec2(-1,1));
res += mat4(-0.043777141720057,0.020481646060944,-0.000155189743964,0.021014641970396,-0.050610024482012,0.035854507237673,0.000046122684580,0.054317492991686,-0.148872390389442,0.004201232455671,-0.000162211814313,0.020166348665953,0.157208248972893,0.133201792836189,0.003346592420712,-0.118269912898540) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.068197704851627,-0.023370485752821,-0.000427389837569,-0.025501331314445,-0.053012069314718,-0.039543520659208,0.000117577539640,0.093116328120232,-0.065102458000183,-0.126918867230415,-0.000027287758712,0.102601684629917,-0.018625466153026,-0.222362324595451,0.001090951962397,-0.120068311691284) * FEATURE5_texOff(vec2(0,0));
res += mat4(0.163544386625290,-0.005855911877006,-0.000106896761281,-0.069032505154610,-0.039026647806168,0.082576237618923,0.000144883000758,-0.033551268279552,0.080056838691235,0.081305764615536,0.000155116926180,-0.152114614844322,-0.125606849789619,-0.047825694084167,0.000123906138469,0.160147696733475) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.066799834370613,-0.107117883861065,0.000518706860021,0.117528364062309,0.000205889024073,0.006584045942873,0.000105985847767,-0.067926354706287,-0.135443016886711,-0.030893238261342,0.000207088101888,0.143222898244858,0.048298139125109,-0.002775642555207,0.001074971631169,0.170677348971367) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.017612187191844,-0.079093419015408,0.000443418248324,0.021548181772232,-0.014420398510993,0.026575366035104,0.000180368995643,0.008321559056640,-0.057366088032722,0.172023355960846,0.000231950456509,-0.069784566760063,-0.028662072494626,0.210053041577339,-0.001002119854093,-0.227308839559555) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.012174232862890,0.015250311233103,0.000813555030618,0.109530180692673,-0.011716880835593,-0.113210491836071,0.000173952343175,0.037554997950792,0.041488602757454,-0.295628935098648,0.000224548886763,0.186619922518730,0.035707280039787,0.038801532238722,-0.001226237742230,-0.041845496743917) * FEATURE5_texOff(vec2(1,1));
res += mat4(0.079556763172150,-0.029189148917794,-0.000071523383667,-0.024288404732943,-0.093548238277435,0.037276353687048,0.001314352732152,0.107488043606281,-0.083271987736225,-0.100400261580944,-0.003327388316393,-0.001341802999377,0.009622717276216,0.059400293976068,-0.001953787403181,-0.104711025953293) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.035267613828182,0.061170436441898,-0.000029456759876,-0.013552959077060,-0.055635936558247,0.041007783263922,0.001493913470767,-0.026665486395359,0.112420834600925,0.062990829348564,-0.002919645747170,-0.104989193379879,0.025740154087543,-0.100039906799793,-0.001511651556939,-0.075598619878292) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.001429503899999,-0.013043053448200,0.000147767321323,0.000230338526308,-0.023259112611413,-0.022459736093879,0.001351652434096,-0.038395237177610,-0.071856871247292,0.003260005498305,-0.002847184427083,0.052082926034927,0.007494176272303,0.003976595588028,-0.001415123231709,-0.050139792263508) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.105775393545628,0.058799229562283,0.000201730668778,-0.063362240791321,-0.043110836297274,0.010198698379099,-0.001783254323527,0.039910398423672,-0.197114437818527,0.056490518152714,0.000487185927341,0.129318177700043,-0.076751574873924,0.095464386045933,-0.000919507991057,0.052688974887133) * FEATURE6_texOff(vec2(0,-1));
res += mat4(0.014930319972336,-0.018150329589844,-0.000079306431871,0.070552334189415,0.069087736308575,0.002272438490763,-0.001487575238571,0.108190216124058,0.048561852425337,0.188513830304146,0.000397122843424,0.067924171686172,0.028283435851336,0.077078744769096,0.000373152754037,-0.070568837225437) * FEATURE6_texOff(vec2(0,0));
res += mat4(0.047553390264511,0.020988518372178,0.000085677616880,0.063532046973705,0.007574773859233,-0.007823847234249,-0.001406447845511,-0.061462342739105,0.008985443040729,-0.009769382886589,-0.000600918487180,-0.144614562392235,0.181851223111153,0.042278118431568,-0.000860734435264,-0.117379844188690) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.127077728509903,-0.111407093703747,-0.000233947866946,0.043400097638369,0.077295765280724,-0.028340734541416,-0.000513759150635,-0.057713836431503,0.210444882512093,-0.073562785983086,-0.000892478856258,-0.075617402791977,-0.006665138993412,-0.003301816992462,0.000395312177716,-0.024476619437337) * FEATURE6_texOff(vec2(1,-1));
res += mat4(-0.081751152873039,0.073885485529900,-0.000245269620791,0.011072047054768,-0.000000426458428,0.088673070073128,0.000075161013228,0.019710686057806,0.061012420803308,-0.182505548000336,0.001794374547899,0.088870733976364,0.065806552767754,-0.246423453092575,0.000968444393948,0.191065162420273) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.124726347625256,0.016891801729798,-0.000090757966973,0.062325149774551,0.046685583889484,-0.064291410148144,0.000678539450746,-0.083805955946445,0.005410781130195,-0.076854877173901,0.002110596280545,-0.030882302671671,0.039534851908684,0.051664132624865,0.002642833162099,-0.013018409721553) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.129166170954704,0.616543948650360,-0.000984176644124,-0.073053389787674) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 1_5

vec4 hook()
{
vec4 res = vec4(-0.111950695514679,-0.036242820322514,-0.098498612642288,-0.042198885232210);
res += mat4(-0.012426245957613,-0.023759938776493,0.055254735052586,-0.024724081158638,-0.018718348816037,0.076557293534279,0.048949819058180,-0.021305659785867,0.042935281991959,-0.180587932467461,-0.065087780356407,0.021594807505608,0.007998707704246,0.093078374862671,0.017725683748722,-0.024088172242045) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.045562215149403,0.188184335827827,0.137076154351234,0.059628080576658,0.032077696174383,-0.037651769816875,-0.048923853784800,-0.126846984028816,0.071843288838863,-0.133511066436768,0.110123157501221,0.068142250180244,-0.022889653220773,-0.058826971799135,0.027864351868629,-0.025220401585102) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.098800957202911,0.148060157895088,-0.002054879209027,-0.030563795939088,0.047982983291149,0.189612865447998,0.170466646552086,0.007318610791117,-0.014205093495548,-0.235424518585205,0.053127381950617,0.063668578863144,-0.022796707227826,0.050473835319281,0.051979672163725,-0.009967269375920) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.039256773889065,-0.263903379440308,-0.075907818973064,-0.083261772990227,-0.127144485712051,-0.031923651695251,-0.090109482407570,-0.122836753726006,-0.044243078678846,-0.126929551362991,0.089358448982239,0.013573135249317,0.031582247465849,-0.024969115853310,0.051176942884922,0.042569383978844) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.011156229302287,-0.102856628596783,-0.036083649843931,-0.007983224466443,-0.032321758568287,-0.031259737908840,0.023182885721326,0.039691593497992,-0.200662776827812,-0.175596743822098,0.032958857715130,-0.211154356598854,-0.061516035348177,-0.034033998847008,-0.021034903824329,-0.030467076227069) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.016826905310154,-0.134241223335266,-0.048018004745245,0.007010270841420,-0.168820366263390,-0.067178159952164,0.007564672268927,-0.042115747928619,0.158166438341141,-0.007320224307477,0.203699067234993,0.048152267932892,-0.050408296287060,-0.016780095174909,0.039554286748171,0.005800382699817) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.067370750010014,-0.096981696784496,-0.011439832858741,-0.023841897025704,0.147210001945496,-0.073175840079784,0.104002453386784,0.056440304964781,0.007896543480456,-0.356001079082489,-0.011401044204831,-0.126245856285095,-0.038496714085340,-0.108399830758572,-0.001585555844940,-0.032005034387112) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.000044286454795,0.021902451291680,-0.032305609434843,-0.069852411746979,0.087502487003803,-0.052416279911995,0.011351200751960,-0.104535140097141,0.202746376395226,0.130545988678932,0.148703157901764,0.131784185767174,0.024559695273638,-0.055585246533155,0.013412626460195,-0.025108020752668) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.035027213394642,-0.024103796109557,0.037279084324837,-0.015175557695329,0.045307017862797,0.014899759553373,-0.072937130928040,0.078992530703545,-0.168958932161331,-0.124575115740299,0.054295156151056,-0.085851751267910,0.028519365936518,-0.092480607330799,0.092452093958855,0.005109309218824) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.090870752930641,-0.056660749018192,0.063423082232475,0.057454403489828,-0.009249195456505,-0.114694371819496,-0.047989215701818,-0.005561052821577,0.015133892185986,-0.012376257218421,-0.017464689910412,-0.072189144790173,-0.021676002070308,-0.100095070898533,-0.025565205141902,-0.016683477908373) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.168571189045906,-0.168437093496323,-0.217415928840637,-0.145793884992599,0.047275111079216,-0.202727124094963,-0.030727518722415,0.007309363223612,-0.114679664373398,-0.079831518232822,-0.127276837825775,-0.278393656015396,-0.100425139069557,-0.114751316606998,-0.066224403679371,-0.061520304530859) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.052209638059139,0.111358128488064,0.149963453412056,-0.094101831316948,-0.092138320207596,-0.087973870337009,0.000630372785963,-0.121401138603687,-0.006752576213330,0.052566815167665,0.154627069830894,-0.263536214828491,-0.020611684769392,0.043183103203773,0.118343867361546,-0.034255817532539) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.237892180681229,-0.084700681269169,-0.184567064046860,-0.298323631286621,0.045182012021542,-0.043725058436394,0.021745223551989,0.074519947171211,0.115253403782845,-0.073022298514843,0.009881549514830,0.097870700061321,-0.096040137112141,-0.050131391733885,-0.085940107703209,-0.064654074609280) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.328732162714005,0.057138897478580,0.134412199258804,0.259517818689346,-0.011087037622929,-0.109033659100533,0.041744455695152,-0.018775071948767,0.091855533421040,0.011584962718189,-0.000449461105745,0.070716522634029,0.066510349512100,0.003635303815827,0.096272148191929,0.045599550008774) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.094108037650585,-0.085319615900517,0.125927641987801,0.011720209382474,0.009449387900531,-0.006201988551766,0.032220009714365,-0.055564623326063,-0.036650173366070,-0.031413462013006,-0.066495381295681,0.015701502561569,-0.100801177322865,-0.147612407803535,0.059852920472622,-0.024772498756647) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.045999165624380,0.171390727162361,0.044470388442278,0.043519776314497,-0.035007085651159,0.107101187109947,-0.005918590817600,-0.051353454589844,-0.047501839697361,0.028577124699950,-0.001514213625342,0.026183880865574,0.016409130766988,0.036120064556599,0.103137031197548,0.045616053044796) * FEATURE2_texOff(vec2(1,-1));
res += mat4(-0.185161992907524,-0.092779479920864,0.080253832042217,-0.120820015668869,0.094310432672501,0.046298444271088,0.050884786993265,-0.007668529171497,-0.067444697022438,-0.018230462446809,-0.012032371945679,-0.066545553505421,-0.116973698139191,-0.072194136679173,0.029996469616890,-0.073571406304836) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.050001051276922,0.049188386648893,-0.031073659658432,0.023081351071596,-0.075306259095669,-0.006235341075808,0.141526803374290,-0.032544169574976,-0.014408434741199,0.042226146906614,0.043881598860025,0.014009010978043,0.014678100124002,0.010141179896891,0.085506819188595,0.062534339725971) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.016945851966739,-0.048991072922945,0.070721589028835,-0.028505371883512,0.002102885860950,-0.109165631234646,-0.052308697253466,0.249768927693367,-0.003108076751232,0.116706095635891,0.070604167878628,-0.036777324974537,0.080574311316013,0.010596207343042,0.005563127342612,0.167712077498436) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.034106925129890,-0.070581920444965,0.085248179733753,0.164967447519302,0.069215968251228,-0.010942691937089,0.038087558001280,0.351370900869370,0.034064907580614,0.040634304285049,-0.022539453580976,0.024310881271958,-0.053511664271355,0.026373526081443,-0.089123763144016,0.088268093764782) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.035925716161728,-0.065741375088692,-0.214933782815933,-0.039123017340899,-0.018325842916965,0.120237357914448,0.050590600818396,0.235776543617249,-0.026251334697008,0.043696757405996,-0.052049055695534,-0.035061724483967,0.103356406092644,-0.062082439661026,-0.031892884522676,0.024797268211842) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.115004077553749,0.041233044117689,0.146043509244919,-0.036111716181040,0.094796583056450,0.028704127296805,0.083448857069016,0.191030964255333,-0.125198200345039,-0.006945416331291,-0.057768456637859,-0.097525052726269,-0.072503797709942,-0.037694800645113,-0.047504223883152,-0.005080597940832) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.027882281690836,-0.007253693416715,0.066418074071407,-0.069782890379429,0.215693309903145,-0.036749131977558,0.095212645828724,0.366668045520782,-0.038366112858057,-0.022380935028195,-0.030236003920436,-0.048974286764860,-0.160522311925888,-0.048833835870028,-0.111757501959801,-0.150417223572731) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.089436806738377,-0.013209803029895,-0.163439437747002,-0.252963274717331,0.033781584352255,0.027557253837585,-0.038654770702124,0.104589499533176,-0.054076015949249,0.009113878011703,0.012285148724914,-0.012501957826316,0.076715007424355,-0.025081552565098,0.079468443989754,0.000589768518694) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.084844335913658,0.100394859910011,0.018818810582161,0.049823354929686,0.047817043960094,-0.065940260887146,0.047316543757915,0.168267160654068,0.000763623160310,0.134035542607307,0.025775212794542,-0.014957874082029,0.013137552887201,-0.065842166543007,-0.052645854651928,0.006178983021528) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.174380987882614,-0.175758540630341,-0.170997083187103,-0.028183732181787,-0.054911941289902,0.015101189725101,0.055482350289822,0.094911254942417,-0.049410209059715,-0.068219780921936,-0.026689790189266,-0.051135554909706,0.072796501219273,-0.105209663510323,0.063968077301979,0.055274538695812) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.051669221371412,0.054150860756636,-0.195847690105438,-0.121400251984596,-0.081227213144302,-0.183128684759140,0.058077536523342,0.125343576073647,-0.062991052865982,0.030379245057702,-0.040813378989697,-0.027472021058202,0.010618014261127,0.146530091762543,0.021816445514560,0.031680703163147) * FEATURE3_texOff(vec2(1,1));
res += mat4(-0.011435766704381,0.023950776085258,-0.031069368124008,0.092395320534706,-0.091936670243740,-0.030282199382782,-0.069653302431107,-0.193385601043701,0.046706594526768,-0.004795869346708,-0.032842684537172,0.065442368388176,0.063455373048782,0.187333554029465,0.017325401306152,0.148258090019226) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(-0.087809301912785,0.032400455325842,-0.067999087274075,-0.051455646753311,0.160032153129578,0.098281547427177,0.194703459739685,-0.017655542120337,-0.134874448180199,0.137910380959511,0.043834093958139,-0.129983559250832,-0.045742511749268,0.042159974575043,-0.079048909246922,0.065731234848499) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.056750867515802,-0.069251991808414,0.015042664483190,-0.014649607241154,-0.072062253952026,0.030886946246028,0.012995825149119,-0.140472471714020,0.067621521651745,-0.051526296883821,0.008241118863225,-0.159851774573326,-0.016054552048445,0.145488381385803,-0.063068769872189,-0.043187499046326) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.069855377078056,-0.072136387228966,0.064997978508472,-0.006501788739115,-0.059087816625834,-0.036361668258905,-0.051784954965115,-0.064731180667877,0.005756501574069,-0.004036680795252,-0.027618404477835,0.209287658333778,0.068834282457829,-0.107986986637115,-0.108978673815727,0.052406683564186) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.358973234891891,0.062961243093014,-0.123705595731735,-0.314976304769516,0.039840526878834,-0.184713438153267,0.071437507867813,0.055229973047972,-0.024726584553719,-0.166778072714806,-0.117121614515781,0.206556305289268,-0.033785380423069,-0.047697942703962,-0.093724422156811,-0.045735128223896) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.063521698117256,-0.070364318788052,0.022669240832329,-0.090943597257137,-0.016033843159676,-0.002447493840009,-0.095676004886627,0.032468777149916,-0.077593028545380,0.079092234373093,0.059729781001806,0.206417471170425,-0.161350980401039,-0.117913179099560,-0.152670919895172,-0.161254301667213) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.016162855550647,-0.149996444582939,-0.061901774257421,0.067677125334740,-0.079605840146542,-0.054975934326649,0.018494235351682,-0.190629467368126,0.049561973661184,-0.043557696044445,-0.073934175074100,-0.017901765182614,0.073605321347713,-0.027348507195711,-0.045265395194292,0.120769955217838) * FEATURE4_texOff(vec2(1,-1));
res += mat4(0.031379308551550,0.019617065787315,0.082769908010960,0.052216928452253,0.170552968978882,0.047493685036898,0.082486040890217,0.132678359746933,0.304091721773148,0.064083807170391,0.208732351660728,0.283170461654663,-0.050405416637659,0.014749700203538,-0.018742160871625,-0.094182088971138) * FEATURE4_texOff(vec2(1,0));
res += mat4(0.013594347983599,0.102166533470154,0.112360805273056,0.122622460126877,-0.134140759706497,0.073425710201263,-0.167282536625862,-0.099751166999340,0.085583679378033,0.037912879139185,0.025752628222108,0.012060903012753,0.082118786871433,0.052248604595661,0.014371657744050,-0.010689087212086) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.034033905714750,0.117893829941750,0.066419795155525,-0.001573421992362,-0.008274509571493,0.046096485108137,0.009257924742997,0.022699553519487,-0.060380514711142,-0.168136656284332,-0.021923355758190,-0.032582227140665,0.026363285258412,-0.032468691468239,0.033339094370604,-0.081778153777122) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(-0.009877966716886,-0.105000503361225,-0.089820332825184,0.075679950416088,-0.007686053868383,0.031116681173444,0.000708642648533,-0.059840187430382,-0.064240947365761,-0.144002333283424,-0.127064600586891,-0.009504238143563,-0.079566471278667,-0.102319791913033,-0.102446623146534,-0.228923484683037) * FEATURE5_texOff(vec2(-1,0));
res += mat4(0.062466513365507,-0.197047486901283,-0.095857456326485,0.055078569799662,-0.005517008248717,0.010343193076551,0.048672653734684,-0.003273306647316,0.101494029164314,-0.073033288121223,0.085375756025314,0.123584978282452,-0.037340130656958,0.073434032499790,0.192202314734459,-0.115572921931744) * FEATURE5_texOff(vec2(-1,1));
res += mat4(-0.131312489509583,0.001303139375523,0.022257292643189,-0.070846185088158,-0.018950525671244,-0.036590661853552,0.028886325657368,-0.024558676406741,0.055072803050280,0.038066573441029,0.026989813894033,-0.066461682319641,-0.141173407435417,0.036465577781200,-0.066500574350357,-0.292822390794754) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.051119960844517,-0.054504696279764,-0.006356491241604,-0.068384423851967,0.035371657460928,0.030207309871912,-0.038484793156385,-0.022404367104173,0.101342648267746,0.103703819215298,0.041351646184921,0.068029068410397,0.258037865161896,-0.001533547416329,0.098864182829857,0.174629300832748) * FEATURE5_texOff(vec2(0,0));
res += mat4(0.039140310138464,0.211451664566994,0.122642733156681,0.065904341638088,-0.010492746718228,-0.014412610791624,0.064033299684525,-0.000507624819875,-0.066864274442196,0.057018555700779,-0.016513008624315,-0.059977892786264,0.052271064370871,0.022721970453858,0.004964470863342,-0.045301727950573) * FEATURE5_texOff(vec2(0,1));
res += mat4(0.096839547157288,0.055846344679594,0.078650921583176,-0.030882783234119,0.018239937722683,0.035567041486502,-0.044508893042803,-0.017327167093754,0.033964000642300,0.046868529170752,0.079740747809410,-0.026889249682426,-0.077927552163601,-0.084101699292660,-0.030622322112322,-0.068388864398003) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.121126294136047,-0.030959360301495,0.069865450263023,-0.016204468905926,-0.029500465840101,0.017888404428959,0.049511376768351,-0.015328041277826,-0.045578941702843,-0.151811927556992,-0.048613447695971,-0.119737207889557,-0.176927149295807,-0.025013426318765,0.076360449194908,-0.099580638110638) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.033284489065409,0.030604491010308,-0.075534187257290,-0.090708330273628,-0.019412416964769,-0.104079701006413,0.025493385270238,-0.014910371974111,0.088327154517174,0.011302774772048,0.014882536605000,0.036578319966793,-0.039186567068100,-0.058374997228384,-0.098081268370152,-0.045166425406933) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.015220103785396,0.004296851344407,0.051455717533827,0.018451960757375,0.040212288498878,0.085403770208359,0.006458628457040,0.071600444614887,0.085584469139576,0.061683867126703,-0.021462146192789,0.020738065242767,-0.004212526138872,0.069777779281139,-0.058603987097740,0.203620105981827) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.017058717086911,-0.120554216206074,-0.093113698065281,0.023286402225494,0.053503174334764,0.163727790117264,0.020720642060041,0.074086412787437,-0.060703951865435,-0.083747543394566,-0.083026193082333,-0.059779003262520,0.105406373739243,-0.118441998958588,-0.152242854237556,0.341143965721130) * FEATURE6_texOff(vec2(-1,0));
res += mat4(0.017831727862358,0.010896769352257,-0.005064597819000,0.053776361048222,-0.045200657099485,-0.151987552642822,-0.153676182031631,0.038254916667938,-0.063121974468231,-0.084179714322090,-0.101964756846428,-0.147782802581787,0.047505199909210,-0.030964758247137,-0.068406462669373,0.382051557302475) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.076600082218647,-0.044414773583412,-0.104649320244789,-0.103472225368023,0.010166273452342,0.029428873211145,0.055480711162090,0.007515699602664,0.010382482782006,0.154444336891174,0.105541229248047,0.244082167744637,-0.031438246369362,0.037505548447371,-0.082639873027802,-0.000576248741709) * FEATURE6_texOff(vec2(0,-1));
res += mat4(0.095964267849922,-0.047050192952156,-0.005965453106910,0.043687421828508,-0.062131818383932,0.021573591977358,-0.051038272678852,-0.096669569611549,-0.224087581038475,-0.008900462649763,-0.234082579612732,-0.029380358755589,-0.216026887297630,-0.028047246858478,-0.049265962094069,-0.211915090680122) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.040395695716143,-0.036132406443357,0.028880616649985,-0.015939421951771,0.059231556952000,-0.039589647203684,0.062766999006271,0.006087188143283,0.063918359577656,0.133267015218735,0.145555585622787,0.215266138315201,-0.014796183444560,0.169161304831505,0.033327914774418,0.043174766004086) * FEATURE6_texOff(vec2(0,1));
res += mat4(0.123656630516052,0.096359461545944,-0.030249828472733,0.025415666401386,-0.023874979466200,0.103820189833641,-0.017965050414205,0.026170495897532,0.118667162954807,0.096443548798561,-0.049671567976475,-0.037325575947762,0.096698991954327,-0.109386362135410,0.003967600874603,0.099310860037804) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.015091392211616,0.077918104827404,0.016430560499430,-0.039808180183172,-0.018912697210908,0.087223157286644,-0.009225364774466,0.023650823161006,0.147358655929565,-0.111984394490719,0.101742163300514,0.070112213492393,0.079741865396500,-0.034528892487288,-0.057435978204012,-0.097736045718193) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.093463473021984,0.029747126623988,-0.051966909319162,-0.009338856674731,0.029347082599998,-0.020297685638070,0.087024651467800,0.008890172466636,0.015441328287125,-0.005726764909923,0.097765959799290,-0.038534201681614,-0.000191140803508,-0.043738912791014,0.197040006518364,0.106542713940144) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.038065560162067,0.444939017295837,-0.041757781058550,0.004399575293064) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 1_6

vec4 hook()
{
vec4 res = vec4(-0.161615043878555,-0.243557065725327,-0.065768182277679,-0.072604693472385);
res += mat4(0.080002039670944,-0.042374778538942,0.012471639551222,-0.009301771409810,0.101805195212364,-0.023822061717510,-0.025335887447000,-0.026748489588499,0.145515486598015,-0.022332420572639,0.038752090185881,-0.020589090883732,-0.019687360152602,0.064317755401134,-0.022927990183234,0.018624391406775) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.051542181521654,0.035628382116556,0.059041060507298,-0.012151488102973,-0.038107961416245,0.040463227778673,-0.069063939154148,-0.031760592013597,-0.100027509033680,-0.103300251066685,0.000921412080061,0.003606637474149,-0.003431352786720,-0.035914901643991,0.033346328884363,0.034814175218344) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.042075671255589,0.049809452146292,-0.079068288207054,-0.000439867086243,0.001519520999864,-0.007783280685544,-0.083730086684227,0.044347878545523,-0.042497176676989,0.026005005463958,0.048871409147978,0.012177357450128,-0.081360898911953,-0.002652923576534,0.001159961917438,-0.004191773943603) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.033908993005753,-0.040195673704147,0.026986382901669,-0.005954733584076,0.072344854474068,0.094213880598545,0.000673791451845,0.003662895411253,0.008665123954415,0.063909888267517,-0.061797112226486,-0.012967451475561,-0.131465107202530,-0.046828147023916,0.036550648510456,-0.033453453332186) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.008036827668548,0.013651499524713,0.017102116718888,-0.009360617958009,-0.033486444503069,-0.047084171324968,-0.167362824082375,-0.034390069544315,0.103573180735111,0.121364913880825,0.172396510839462,0.025469712913036,0.029123671352863,0.029735414311290,0.104803957045078,0.044229578226805) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.013385983183980,0.014502638950944,0.010933175683022,0.063955634832382,-0.048249706625938,-0.003697463311255,-0.060808368027210,-0.157703876495361,0.006198931951076,-0.110823296010494,-0.127498567104340,-0.076484665274620,-0.046589028090239,-0.014911960810423,0.036377251148224,0.026591809466481) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.005205314606428,0.038542956113815,-0.033158499747515,0.033003922551870,0.073091134428978,-0.014807141385972,0.264443159103394,-0.054185818880796,0.060085956007242,0.011519014835358,0.052350483834743,0.010341306217015,0.030877934768796,-0.024829400703311,0.002062371233478,-0.013225601054728) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.010403467342257,0.004686927888542,-0.009646766819060,-0.050842098891735,0.001776741002686,0.003462902037427,0.068570554256439,-0.028032299131155,-0.167816489934921,-0.040150910615921,-0.034665115177631,-0.056311622262001,-0.017213430255651,0.018817882984877,-0.003132926067337,-0.026326717808843) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.057671546936035,-0.104872532188892,0.031821303069592,-0.021652808412910,-0.056848209351301,-0.009430814534426,-0.026197953149676,-0.119173653423786,0.036596152931452,0.012198049575090,0.082394592463970,0.059573035687208,-0.014653576537967,-0.014778084121644,0.011252379976213,0.006282364018261) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.062166437506676,-0.150646910071373,0.006910617928952,-0.034729976207018,-0.089342087507248,0.149226307868958,0.074010454118252,-0.018728230148554,-0.064809888601303,0.070909090340137,0.077574841678143,0.070463828742504,-0.096104428172112,-0.026179164648056,0.042151361703873,-0.000061918814026) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.007243944332004,0.258844316005707,0.220624297857285,-0.069556377828121,0.016884420067072,-0.125403016805649,-0.082539133727551,-0.045205242931843,0.056610070168972,0.228844463825226,0.156020373106003,-0.039083123207092,-0.064181432127953,0.022383211180568,0.020206766203046,-0.048178832978010) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.105965428054333,-0.019625546410680,-0.113073676824570,0.007330809254199,0.007632093038410,-0.056262273341417,0.023426588624716,-0.098650716245174,-0.129242569208145,0.059853866696358,-0.023651767522097,0.093804635107517,0.065605700016022,-0.007622916717082,-0.019670223817229,-0.012779798358679) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.258242607116699,0.146941348910332,-0.135397449135780,0.047713670879602,-0.087684608995914,-0.014343637973070,0.042145136743784,0.035195745527744,0.072783961892128,0.014247303828597,0.118768513202667,0.049927763640881,0.056567303836346,0.082413479685783,0.007462923880666,0.046251270920038) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.058996092528105,-0.118460789322853,-0.201844945549965,-0.052357275038958,0.082035504281521,0.025344301015139,-0.046500235795975,-0.022553486749530,-0.102608047425747,-0.023523757234216,-0.185006514191628,-0.051631797105074,-0.013117477297783,-0.080675587058067,-0.079357556998730,0.002901704050601) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.042250838130713,-0.049933619797230,0.103418663144112,-0.073907643556595,0.088711790740490,-0.003743096254766,-0.045146245509386,-0.007838485762477,-0.175337508320808,0.101707480847836,-0.122589372098446,0.131119295954704,-0.081380568444729,0.031425666064024,0.034127350896597,-0.021194009110332) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.172619864344597,-0.012911145575345,-0.071569494903088,-0.047856539487839,-0.083145119249821,-0.044470235705376,-0.011613702401519,-0.016402166336775,-0.048333443701267,0.085548348724842,-0.008586382493377,0.018928604200482,-0.108694285154343,-0.039772350341082,0.023840904235840,-0.028143625706434) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.149038165807724,0.014970906078815,0.168653026223183,0.070776984095573,0.011218121275306,-0.121546022593975,-0.045204389840364,-0.020820040255785,0.024143863469362,0.212993159890175,0.060509763658047,-0.013595982454717,0.014816406182945,0.057710926979780,0.026236556470394,0.027423594146967) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.046269945800304,0.007467478048056,-0.009325850754976,-0.108778759837151,-0.017066339030862,0.004979612305760,0.030819309875369,0.003605956444517,-0.037392675876617,0.029578940942883,0.066542908549309,0.048678763210773,-0.070141293108463,-0.023998752236366,0.010164761915803,0.028715403750539) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.171427041292191,0.037679806351662,0.059382393956184,0.103714466094971,0.020613295957446,0.106180571019650,0.145381510257721,0.166278839111328,-0.017014978453517,0.009175539016724,0.016610352322459,0.035608753561974,-0.037186477333307,-0.073571123182774,0.112415827810764,0.010728640481830) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.043843433260918,-0.074773050844669,-0.106940791010857,0.000091787158453,-0.010236307978630,0.115812733769417,0.083967819809914,0.014772739261389,0.034726701676846,0.057203918695450,0.049078699201345,-0.014051393605769,0.081325881183147,-0.042543739080429,0.076549299061298,-0.053223900496960) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.087855607271194,-0.018130552023649,-0.001002846052870,-0.045175563544035,0.047167118638754,0.032900959253311,0.016112206503749,0.018204532563686,-0.013864806853235,0.068936645984650,-0.030409719794989,-0.006421740166843,-0.087506309151649,0.099166333675385,-0.102595545351505,-0.029842417687178) * FEATURE3_texOff(vec2(-1,1));
res += mat4(-0.101235069334507,-0.106142029166222,0.150165051221848,0.019949117675424,0.054732318967581,0.133490741252899,0.185148879885674,0.083237789571285,-0.039887629449368,-0.003108744276688,-0.011553251184523,-0.000431473017670,0.004578951746225,0.023957649245858,0.007458555512130,-0.019030291587114) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.011268732137978,-0.136324882507324,-0.102875061333179,-0.143743127584457,-0.043274518102407,0.054782573133707,-0.050924543291330,-0.069083407521248,0.124218128621578,0.055097367614508,0.031288545578718,0.016128132119775,0.038628205657005,0.117305658757687,0.121642187237740,-0.000006124657375) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.026412991806865,0.064816936850548,0.035347566008568,0.080524206161499,-0.086416348814964,0.060118027031422,0.026839971542358,0.134096413850784,0.030992867425084,0.044927041977644,0.041393026709557,-0.035407751798630,-0.034468621015549,0.021775921806693,-0.031743574887514,-0.012227398343384) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.110151730477810,0.026422023773193,-0.062879122793674,0.036186486482620,-0.054422229528427,0.197567358613014,0.143915653228760,0.063201621174812,-0.011962534859776,0.049905363470316,0.007276737596840,-0.017087344080210,0.106039993464947,0.021110499277711,0.008576199412346,0.019304480403662) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.073211230337620,0.049451228231192,-0.163229927420616,-0.051946219056845,0.046678673475981,0.107271872460842,0.107027739286423,0.010731239803135,0.044342909008265,0.023789163678885,0.053876467049122,-0.036982569843531,-0.005193379241973,0.025418635457754,0.032512437552214,-0.038674123585224) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.021968871355057,0.027113068848848,-0.103012800216675,0.077019788324833,0.000806290307082,0.004633002914488,0.052321512252092,0.099154010415077,-0.020199181511998,0.050676122307777,0.016414998099208,-0.067399837076664,-0.004073280841112,0.011345464736223,0.067646965384483,-0.013637923635542) * FEATURE3_texOff(vec2(1,1));
res += mat4(-0.037648465484381,-0.108352817595005,0.104672834277153,0.059993084520102,0.160143971443176,0.126396059989929,-0.058666385710239,-0.068406529724598,0.043738324195147,-0.194701820611954,-0.061368625611067,-0.020393570885062,0.006449281238019,0.061514325439930,0.091849692165852,0.036276876926422) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.090675778687000,-0.274998366832733,-0.017334636300802,-0.025380710139871,-0.183382153511047,-0.019128333777189,-0.215698435902596,-0.095738366246223,0.027998991310596,-0.025149637833238,0.121408775448799,-0.077466703951359,-0.059875503182411,-0.128805801272392,-0.137653931975365,-0.085290424525738) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.019652703776956,-0.014788606204093,-0.031279865652323,0.066265977919102,0.088893353939056,-0.079293057322502,0.051596228033304,-0.092724718153477,-0.087253324687481,-0.030402610078454,-0.086141303181648,0.068905584514141,0.152438104152679,-0.084369093179703,0.003348531201482,-0.000372712791432) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.081275887787342,-0.015091483481228,0.051077034324408,0.035926159471273,-0.042069699615240,0.027890784665942,-0.041357755661011,0.009556759148836,0.037884857505560,-0.064867787063122,-0.103052258491516,0.074368610978127,-0.102224566042423,0.113787032663822,0.162435650825500,0.036711715161800) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.045137770473957,-0.072850152850151,0.011031820438802,-0.015702966600657,-0.046505648642778,-0.025355901569128,-0.138753786683083,-0.073763445019722,-0.065824933350086,0.175840944051743,0.029230359941721,0.042556542903185,-0.133241340517998,-0.136568009853363,-0.199508026242256,-0.019076574593782) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.025240082293749,0.017751276493073,-0.043244250118732,0.003973573911935,0.156696304678917,-0.091560252010822,0.037224840372801,0.016995146870613,0.188330829143524,-0.084776014089584,0.028308218345046,0.108470395207405,-0.019050775095820,-0.013143915683031,0.079939395189285,0.173926696181297) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.022149272263050,-0.003311068285257,0.146539762616158,0.063140667974949,0.026677135378122,0.012189368717372,-0.130184575915337,-0.039937399327755,0.086094163358212,0.009599106386304,0.002332468284294,0.057495042681694,0.008395627140999,-0.011608936823905,0.090395517647266,0.036906123161316) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.073798753321171,-0.019492700695992,-0.097860112786293,0.044644244015217,0.039684642106295,-0.194580659270287,-0.134424597024918,-0.105380661785603,0.016668740659952,-0.155402034521103,0.056883491575718,-0.013860646635294,-0.015073429793119,-0.093431867659092,-0.157693520188332,-0.032207328826189) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.070474997162819,-0.023074842989445,0.065242201089859,0.057132724672556,0.036084115505219,-0.068218365311623,-0.010120627470315,-0.030393498018384,-0.050745576620102,-0.132427513599396,0.018548531457782,-0.006359098479152,0.055856619030237,-0.003892454551533,-0.025554498657584,0.109523043036461) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.021156584843993,-0.096236094832420,0.026323748752475,-0.049632024019957,-0.041808214038610,0.000848971074447,-0.023840114474297,-0.036145377904177,-0.056664854288101,-0.029297914355993,-0.007055638823658,-0.025287678465247,0.020705834031105,-0.005669623147696,-0.000720398733392,-0.043134514242411) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.015971312299371,-0.055458761751652,0.061454206705093,-0.017873493954539,0.016630901023746,0.038311872631311,0.001249927445315,-0.005718911066651,0.201905488967896,0.024378919973969,0.088690824806690,0.041608460247517,-0.056393362581730,0.291896224021912,0.131619632244110,-0.019338291138411) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.054733242839575,0.020312024280429,-0.049014527350664,0.046189431101084,-0.011414472013712,-0.019493438303471,-0.012530327774584,0.006249434780329,-0.074890829622746,-0.035857446491718,-0.082108095288277,0.045179590582848,0.055746659636497,-0.013746030628681,-0.070378646254539,0.044014744460583) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.041652359068394,0.067775696516037,-0.023234996944666,0.021386921405792,-0.001643190276809,-0.015158644877374,-0.009547468274832,-0.046012114733458,-0.000128796920762,-0.054451607167721,0.052272018045187,-0.019606901332736,0.303106427192688,0.083860702812672,-0.156668722629547,0.001370770507492) * FEATURE5_texOff(vec2(0,-1));
res += mat4(0.061992630362511,0.021044638007879,0.032954379916191,-0.049272999167442,-0.049672294408083,0.005298023577780,0.002245789626613,-0.009626138955355,-0.041684195399284,-0.026105996221304,-0.066303372383118,-0.085718385875225,-0.107510410249233,-0.178899452090263,-0.309482485055923,-0.114758573472500) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.024774627760053,-0.074665509164333,-0.055578816682100,-0.149716183543205,-0.027131287381053,-0.026245119050145,0.005883439909667,0.007547507062554,-0.020731823518872,0.071366600692272,0.041281543672085,-0.010546350851655,-0.096217252314091,-0.058974258601665,-0.077512383460999,-0.099982306361198) * FEATURE5_texOff(vec2(0,1));
res += mat4(0.012270189821720,-0.084949009120464,0.124934554100037,-0.013206783682108,-0.009527490474284,0.002287087030709,-0.031055234372616,0.000715830479749,-0.088457509875298,0.084774121642113,-0.027285136282444,-0.051153458654881,-0.098108209669590,0.001553772483021,-0.144869491457939,-0.095856137573719) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.086987055838108,-0.145767956972122,0.046100027859211,-0.051112372428179,0.020759403705597,-0.056005354970694,0.023011736571789,0.013817573897541,0.072106279432774,0.045557875186205,0.035531725734472,0.025414623320103,0.146690189838409,0.101395316421986,0.060614772140980,0.023663245141506) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.061739701777697,-0.003229629015550,0.014201844111085,-0.020936582237482,0.037219602614641,0.027964178472757,-0.002595211379230,-0.024536872282624,-0.071126863360405,0.042707789689302,-0.052076786756516,-0.022234674543142,0.101878911256790,0.079637601971626,-0.080256365239620,-0.101499542593956) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.014208893291652,-0.013596812263131,-0.013826576061547,0.012431321665645,-0.069296173751354,-0.064736537635326,0.005223766900599,-0.043980300426483,-0.003197425045073,-0.076014712452888,0.003406574018300,-0.040026437491179,0.055530093610287,-0.000827119220048,0.083355650305748,0.023539518937469) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.026661468669772,-0.024554399773479,0.037212200462818,0.004883514717221,0.050382830202579,-0.020104911178350,-0.032082922756672,-0.014364442788064,0.112807743251324,-0.053539104759693,-0.020833607763052,-0.014014733955264,0.022211512550712,-0.248546943068504,-0.020146586000919,0.033998675644398) * FEATURE6_texOff(vec2(-1,0));
res += mat4(0.030883107334375,-0.046649273484945,0.008171842433512,0.038981176912785,0.019675478339195,0.011766171082854,0.020565606653690,-0.048695277422667,-0.057258751243353,0.157027199864388,0.024301037192345,0.024070726707578,0.029761567711830,-0.061571206897497,-0.031465966254473,-0.023069234564900) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.045706495642662,0.012616078369319,-0.003288037842140,0.044667720794678,-0.027212154120207,-0.019180545583367,0.009633125737309,-0.055570632219315,-0.080943211913109,0.008093082346022,-0.041094113141298,-0.010117179714143,-0.096082627773285,0.071378603577614,0.065039291977882,0.008136460557580) * FEATURE6_texOff(vec2(0,-1));
res += mat4(0.079657502472401,0.008015539497137,-0.066411271691322,-0.023084461688995,-0.028832897543907,0.038998074829578,0.136262625455856,0.036369550973177,0.040212444961071,0.162164732813835,0.164305225014687,0.101094067096710,0.106214441359043,0.056918844580650,0.202271759510040,0.054645814001560) * FEATURE6_texOff(vec2(0,0));
res += mat4(0.052626401185989,-0.016203491017222,0.043067723512650,-0.001009962870739,0.038736723363400,0.021304741501808,0.051305390894413,0.011589208617806,-0.077848277986050,-0.084160499274731,-0.142138957977295,-0.000609115755651,0.009573140181601,-0.062978044152260,0.081745967268944,-0.082906432449818) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.197585269808769,-0.014191586524248,0.039572846144438,0.010103967972100,0.075617834925652,0.068209700286388,-0.078261859714985,0.065604403614998,0.133638039231300,-0.055418308824301,0.114696778357029,-0.010465378873050,0.042056307196617,-0.109386913478374,0.158234775066376,0.040015175938606) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.013067706488073,-0.061098955571651,-0.001828508335166,-0.037659108638763,0.030207086354494,-0.069977536797523,0.039633091539145,0.084597617387772,-0.127217754721642,-0.110527455806732,0.060860294848680,0.021054789423943,-0.111197903752327,-0.085603319108486,-0.017103644087911,0.002477356931195) * FEATURE6_texOff(vec2(1,0));
res += mat4(0.023472992703319,0.030785258859396,0.013558429665864,0.025671342387795,0.010810361243784,-0.051305443048477,0.018762005493045,-0.036824855953455,-0.007271687034518,0.004423906095326,0.042715236544609,0.084836527705193,-0.017272621393204,-0.024391243234277,0.062895916402340,0.062739677727222) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.033005241304636,0.001071401638910,0.007730780635029,0.014947879128158) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 2_1

vec4 hook()
{
vec4 res = vec4(0.070735558867455,-0.025282613933086,-0.378337919712067,-0.030286706984043);
res += mat4(-0.005273007322103,-0.050102107226849,0.046313274651766,-0.005194650497288,-0.203540474176407,0.087191700935364,-0.020621830597520,0.057007499039173,-0.003284663660452,-0.188788503408432,-0.005544459447265,-0.029359742999077,-0.016044264659286,0.039490804076195,-0.114477470517159,0.015742689371109) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.001376811298542,-0.038994684815407,0.022481376305223,-0.014412703923881,0.174520164728165,-0.320676773786545,-0.168695539236069,-0.142975866794586,0.021133285015821,-0.075215190649033,0.056759517639875,0.022057533264160,0.034016337245703,0.020320909097791,-0.002978367032483,-0.052794802933931) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.016989232972264,-0.017158482223749,-0.009066725149751,0.008654575794935,-0.014663725160062,-0.029373908415437,0.034644510596991,0.089660413563251,0.045118961483240,0.099885180592537,0.012302250601351,0.000764998956583,0.103094764053822,-0.037017002701759,0.030772080644965,-0.057828545570374) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.042492762207985,-0.008721690624952,0.007973859086633,-0.034874025732279,-0.271102845668793,-0.075230002403259,0.071557871997356,-0.230313479900360,-0.037573590874672,-0.142318353056908,0.090825401246548,0.023600630462170,0.090856947004795,-0.009308631531894,0.075827814638615,0.096574723720551) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.019402869045734,-0.039323441684246,-0.013301985338330,-0.023608779534698,-0.052931573241949,0.013297583907843,0.162297070026398,-0.118046313524246,-0.003524150233716,0.293260753154755,0.280429720878601,-0.044400215148926,-0.080715797841549,-0.004149016458541,0.008491729386151,0.018148744478822) * MODEL1_texOff(vec2(0,0));
res += mat4(0.005566178821027,0.011926521547139,-0.035396285355091,-0.010576132684946,-0.057550448924303,-0.044108476489782,-0.108568534255028,-0.167738214135170,-0.043156076222658,-0.097024142742157,0.092937916517258,-0.114575400948524,-0.095374792814255,-0.140003040432930,0.202377274632454,-0.127264335751534) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.000781650946010,-0.016805354505777,-0.006930807605386,0.022122286260128,-0.095801085233688,-0.106432132422924,0.024588175117970,-0.194730430841446,-0.010005000047386,-0.060896210372448,0.010661813430488,0.080060914158821,0.134546995162964,-0.082602672278881,0.020343042910099,-0.032368756830692) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.005678731948137,0.003261524951085,-0.026821374893188,0.000054751530115,-0.032103870064020,0.033049408346415,0.029576975852251,-0.159973591566086,0.095609664916992,0.188209846615791,-0.032333310693502,0.024330055341125,-0.121685795485973,0.075035743415356,-0.000543344067410,-0.049585193395615) * MODEL1_texOff(vec2(1,0));
res += mat4(0.038628716021776,-0.000191315702978,0.017926931381226,-0.011929869651794,-0.048093881458044,0.052779331803322,-0.089044108986855,0.012240942567587,0.039239730685949,0.076481804251671,-0.058246809989214,-0.140294179320335,0.062113281339407,0.126485288143158,0.152743965387344,0.217750474810600) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.051858350634575,-0.126941353082657,0.005738418083638,0.042779583483934,0.065571166574955,0.141823470592499,-0.034446462988853,0.027760626748204,-0.064681246876717,0.088041424751282,-0.081229254603386,0.050942692905664,-0.072734110057354,-0.017926080152392,-0.023470478132367,0.086406625807285) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.081446938216686,-0.064168237149715,0.009649069048464,-0.017657618969679,0.039557658135891,-0.261238902807236,0.167627781629562,0.050120543688536,0.138541013002396,0.134495079517365,-0.102891437709332,-0.117658853530884,-0.128004387021065,-0.058571834117174,0.113889135420322,0.080194458365440) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.053734328597784,-0.057660099118948,-0.002899831626564,0.079099871218204,-0.045030590146780,0.096698030829430,-0.130543932318687,0.053676042705774,-0.038859881460667,-0.138250961899757,-0.000166347861523,0.058367434889078,-0.049870423972607,0.039625957608223,0.045465439558029,0.230746030807495) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.075221106410027,0.051609851419926,-0.051149107515812,-0.052572712302208,0.075681380927563,0.069069012999535,0.056920204311609,0.071153417229652,0.025134356692433,-0.032392650842667,-0.104017317295074,-0.102364681661129,0.029487641528249,-0.147316992282867,-0.088790811598301,-0.076413638889790) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.285973519086838,-0.072576977312565,-0.018636004999280,-0.056146655231714,-0.273105978965759,-0.107750669121742,-0.232397496700287,0.166858538985252,0.052197702229023,-0.027220955118537,0.044309224933386,-0.007155756000429,0.041582450270653,-0.189183920621872,0.013169571757317,0.037456307560205) * MODEL2_texOff(vec2(0,0));
res += mat4(0.038916889578104,-0.000068683606514,-0.041774854063988,0.076178923249245,0.034514922648668,0.053542528301477,-0.003160270629451,-0.221125394105911,-0.127278015017509,0.071063585579395,-0.040867686271667,-0.006352932658046,-0.006082140840590,0.085024222731590,0.053734060376883,-0.027238704264164) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.031318884342909,0.046298064291477,-0.000607532681897,-0.037918634712696,0.146822452545166,-0.190328121185303,0.012752422131598,-0.034918092191219,-0.008975294418633,-0.032125055789948,0.095706701278687,0.093106724321842,-0.028531009331346,0.059676036238670,0.039406124502420,0.005396627821028) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.091086953878403,-0.048356354236603,-0.012346059083939,0.063519582152367,-0.075368694961071,0.122809827327728,0.130109325051308,-0.019699146971107,-0.046908218413591,0.038654424250126,-0.077898189425468,-0.024867393076420,0.107224300503731,0.127121001482010,0.183285206556320,0.028525987640023) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.027778249233961,0.012296617962420,-0.009722277522087,-0.046957541257143,-0.038294356316328,-0.136144012212753,-0.154466539621353,0.076235897839069,-0.012765904888511,-0.143485710024834,-0.155078217387199,-0.113773874938488,0.122464336454868,0.165151223540306,-0.087701283395290,-0.086203172802925) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.045162573456764,0.070796780288219,-0.031620200723410,-0.106655940413475,0.018704857677221,-0.081865891814232,-0.151498675346375,-0.026310386136174,-0.081518657505512,-0.224539622664452,-0.068197108805180,-0.123223811388016,0.003599618095905,0.044018540531397,-0.178707554936409,-0.033269166946411) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.046430025249720,0.051202666014433,0.043255135416985,-0.027654722332954,0.009123766794801,0.120382703840733,-0.186699196696281,0.034560088068247,-0.032245326787233,0.005528245121241,0.020820355042815,-0.134496614336967,-0.074189223349094,0.279764473438263,-0.124759204685688,0.151436522603035) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.111629918217659,-0.069613546133041,0.016991520300508,0.154626116156578,-0.031665384769440,0.130583673715591,-0.129641935229301,0.012795392423868,-0.057023335248232,-0.101059235632420,-0.041106119751930,0.058505784720182,0.136604592204094,0.152596712112427,-0.025314966216683,0.120150774717331) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.148461133241653,0.026236448436975,0.039218667894602,-0.050906926393509,0.010749047622085,-0.160728260874748,-0.044005721807480,0.004364375490695,-0.163349032402039,-0.019153458997607,-0.091777138411999,-0.068225018680096,0.092803813517094,-0.044849533587694,-0.004003081005067,-0.053053956478834) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.096481412649155,-0.181374952197075,0.007733628153801,-0.191592633724213,-0.152435734868050,0.005197618622333,0.020469212904572,0.061766538769007,0.225409284234047,0.096373997628689,-0.134453043341637,0.128457605838776,0.215837255120277,-0.085274398326874,-0.064257457852364,0.042423274368048) * MODEL3_texOff(vec2(0,0));
res += mat4(0.032572235912085,0.022100819274783,0.028740517795086,-0.184098631143570,0.040192734450102,-0.002062027342618,0.269117504358292,0.069876708090305,-0.109890125691891,0.027087748050690,-0.132884994149208,0.087285280227661,0.012477283366024,-0.051096841692924,-0.086306035518646,0.155730798840523) * MODEL3_texOff(vec2(0,1));
res += mat4(0.136998131871223,0.069254457950592,-0.174125716090202,0.065080046653748,-0.104018516838551,0.069287642836571,-0.072126068174839,-0.061533723026514,-0.139490574598312,-0.036780819296837,-0.113427676260471,-0.041266925632954,0.133580952882767,-0.009892581030726,-0.045070692896843,-0.091645777225494) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.050148453563452,0.026035845279694,0.005887325387448,-0.068649664521217,0.240292504429817,-0.138262555003166,0.132540896534920,-0.035674285143614,-0.181783586740494,-0.077813968062401,-0.020454987883568,-0.012783399783075,0.090045273303986,-0.299632519483566,-0.028448592871428,-0.066428296267986) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.186409443616867,0.119705900549889,-0.096817299723625,0.098836243152618,0.127188518643379,-0.294523984193802,0.205385372042656,-0.066737733781338,-0.015819517895579,-0.018305800855160,-0.162626907229424,-0.226719200611115,0.047526836395264,0.021671075373888,-0.048565272241831,-0.209952324628830) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.105233192443848,0.008536069653928,-0.048150695860386,-0.079771369695663,0.080910637974739,0.039524063467979,0.145154893398285,-0.047901738435030,0.004455444868654,-0.013072792440653,-0.004230635706335,0.007427088916302,-0.041473951190710,-0.219705477356911,0.007695526350290,0.004119545686990) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.104421876370907,0.072054073214531,0.045511052012444,-0.080333143472672,0.199670195579529,-0.111148029565811,0.215684965252876,-0.046450983732939,0.004579686094075,-0.011092498898506,-0.005115925800055,0.008480536751449,0.043899212032557,-0.004333947785199,0.109213724732399,-0.148682624101639) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.002222045091912,-0.162086725234985,0.011400382965803,0.032617401331663,0.051969069987535,-0.019827784970403,0.045347210019827,0.209116697311401,0.003737584687769,-0.008427759632468,-0.006329062394798,0.008933770470321,-0.061921637505293,0.090350016951561,-0.101426512002945,0.169714063405991) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.029555708169937,0.016327347606421,-0.006955183111131,-0.067662261426449,0.011584534309804,0.045691557228565,0.041904922574759,0.041825164109468,0.002937945304438,-0.015967048704624,0.000498503446579,0.008856571279466,-0.091138623654842,-0.205078408122063,0.102401204407215,-0.135096684098244) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.051399536430836,0.015893187373877,0.001305782236159,-0.085262581706047,-0.319843620061874,-0.306377708911896,-0.312025427818298,0.027046188712120,0.003344145370647,-0.013902161270380,0.000370240915800,0.007233286276460,-0.143504455685616,0.043642904609442,0.112146794795990,0.022626060992479) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.012912166304886,0.008637403137982,0.093738138675690,0.133950293064117,-0.003633484942839,0.125916138291359,0.108447328209877,-0.410256147384644,0.003689967095852,-0.013540960848331,-0.000670406967402,0.006568273063749,0.126738160848618,0.004998256918043,0.073553465306759,0.059787068516016) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.007959697395563,-0.017620768398046,0.015037238597870,0.103952966630459,-0.012698516249657,0.111392922699451,-0.111413694918156,0.034647468477488,0.000368685898138,-0.017352402210236,0.007242098450661,0.005346132442355,0.048049680888653,0.105973862111568,-0.089623160660267,0.029735013842583) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.032891545444727,-0.058159835636616,-0.009007675573230,0.001095280051231,-0.005609627347440,-0.043089553713799,0.043069716542959,-0.011949055828154,0.000510006269906,-0.016171092167497,0.007187876384705,-0.000969477870967,0.068542562425137,-0.000142682256410,0.129210129380226,0.034391447901726) * MODEL4_texOff(vec2(1,0));
res += mat4(0.032150208950043,0.022245923057199,0.008006913587451,-0.020537750795484,-0.011273049749434,0.073389463126659,-0.253536969423294,-0.111931897699833,0.001246092375368,-0.016991144046187,0.004956234246492,-0.002848089905456,0.028485244140029,0.106035128235817,-0.030543992295861,-0.031802795827389) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.025553463026881,0.012845070101321,0.021952798590064,-0.178785026073456,0.058983054012060,-0.031001795083284,0.005149551667273,-0.163026258349419,0.133408203721046,-0.038445431739092,0.122674115002155,-0.184866994619370,-0.056576672941446,-0.098262198269367,-0.012695266865194,-0.006116192787886) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.354796379804611,0.165464758872986,0.003498117905110,0.037276137620211,-0.000518036482390,0.130378603935242,-0.209960043430328,0.021163905039430,-0.022933684289455,-0.049104060977697,0.073739729821682,0.066121764481068,-0.171597808599472,0.122332200407982,-0.075030021369457,-0.018707076087594) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.116037480533123,0.013277844525874,-0.072825551033020,0.270765304565430,0.007843831554055,-0.126317262649536,0.151831746101379,0.054268769919872,0.003578213509172,-0.119147367775440,-0.036057714372873,0.123405605554581,0.002778047928587,-0.084462657570839,-0.001302590360865,0.051228720694780) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.148568958044052,-0.188595429062843,0.091920770704746,-0.337948888540268,-0.100568898022175,-0.085973083972931,-0.041893146932125,0.020458189770579,-0.276001960039139,-0.023217249661684,-0.012448648922145,-0.081323571503162,0.126787513494492,-0.051918622106314,0.010811646468937,-0.036749999970198) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.071703895926476,-0.035289544612169,-0.056969933211803,-0.233882874250412,-0.045302961021662,0.061194781213999,0.198406532406807,0.078536257147789,-0.095690764486790,-0.028009738773108,0.016371466219425,-0.100086130201817,0.306169182062149,0.145091459155083,0.107666127383709,-0.024715272709727) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.088785924017429,-0.119385987520218,0.031103175133467,0.252372413873672,0.021712023764849,0.103793457150459,-0.124837361276150,0.048512827605009,0.006799503695220,-0.073847644031048,-0.035779174417257,-0.043590769171715,-0.070971287786961,-0.007809837814420,-0.077930733561516,0.216415002942085) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.019399715587497,0.006993012968451,-0.106811843812466,-0.101941481232643,-0.099574111402035,-0.032201487571001,0.094268366694450,0.017997149378061,0.033989176154137,-0.081245042383671,-0.016492594033480,-0.118487909436226,-0.011605409905314,-0.089547760784626,0.010444184765220,-0.039372004568577) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.094432182610035,0.002792262472212,0.064920529723167,0.050786223262548,0.028593329712749,0.072723187506199,-0.192720293998718,0.063729822635651,0.061596054583788,0.125360652804375,-0.093406774103642,-0.192573636770248,0.123009316623211,-0.043747615069151,0.016391215845942,-0.005592015571892) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.081357963383198,0.084088161587715,-0.047139249742031,-0.074266500771046,0.056636542081833,-0.071958884596825,0.082049876451492,-0.021938757970929,-0.066271245479584,-0.037390802055597,-0.041395675390959,-0.049421295523643,-0.021502140909433,0.054630316793919,-0.047584839165211,-0.132046312093735) * MODEL5_texOff(vec2(1,1));
res += mat4(0.027754772454500,0.034024212509394,-0.060988012701273,-0.052035115659237,-0.057628516107798,-0.032606691122055,-0.019881656393409,-0.036898948252201,0.172733634710312,0.049383539706469,-0.087403886020184,-0.044315382838249,-0.037987828254700,-0.008581634610891,-0.017636654898524,0.045279722660780) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.061335790902376,0.088022679090500,0.030102092772722,-0.063035719096661,0.063387311995029,0.028189510107040,0.037022110074759,-0.103303760290146,0.057756692171097,-0.038003910332918,0.049725033342838,-0.040751911699772,0.006588760763407,-0.063676975667477,0.075076214969158,-0.000693001318723) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.028201505541801,0.106648795306683,0.047487426549196,-0.044939722865820,-0.029665365815163,-0.071723811328411,0.049887921661139,-0.005603769794106,0.039518889039755,-0.001147641101852,-0.020207416266203,-0.014548367820680,0.056026142090559,-0.081630095839500,0.037091679871082,-0.061325471848249) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.132645606994629,0.039982479065657,-0.024819621816278,-0.066459193825722,0.186922758817673,0.061710242182016,0.014307085424662,-0.064799107611179,-0.195890501141548,0.058344934135675,0.028307178989053,0.067791640758514,-0.094460345804691,0.106437511742115,-0.025278035551310,-0.043878152966499) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.048551753163338,0.084411017596722,0.072751112282276,-0.037749975919724,-0.038753785192966,0.099060729146004,-0.001997158629820,0.108002543449402,-0.102441176772118,0.061739303171635,0.001693361089565,-0.004427133593708,-0.074564509093761,0.040902800858021,0.010849866084754,0.001528191496618) * MODEL6_texOff(vec2(0,0));
res += mat4(0.009725206531584,0.012714658863842,0.083756767213345,0.112321086227894,0.057064983993769,0.132930830121040,0.025965530425310,0.160659804940224,0.070720829069614,0.033226434141397,0.108250364661217,0.051378022879362,0.059781815856695,0.082406461238861,0.012776678428054,0.017976216971874) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.047438662499189,-0.011778302490711,0.087785780429840,0.057957947254181,-0.007731031626463,-0.082752786576748,-0.015769472345710,-0.045978389680386,-0.015555094927549,-0.093940101563931,0.008453199639916,-0.024697026237845,-0.034326616674662,0.041015177965164,-0.050532434135675,-0.037908144295216) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.033414326608181,0.149740934371948,-0.021260062232614,-0.088244296610355,0.108364708721638,0.108410224318504,0.004198697395623,0.045458570122719,-0.141908094286919,-0.036644335836172,0.003501527244225,-0.014371328055859,0.031170826405287,0.007133959326893,0.062677145004272,0.014361067675054) * MODEL6_texOff(vec2(1,0));
res += mat4(0.084004372358322,-0.106843546032906,0.026848236098886,-0.062443707138300,0.161802023649216,-0.103004120290279,0.021919250488281,-0.112922400236130,0.014793730340898,-0.049672309309244,0.082320913672447,-0.004434994887561,0.132332205772400,0.100171156227589,0.028728956356645,0.020691147074103) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.087207213044167,0.061004888266325,-0.009736625477672,-0.072018280625343) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 2_2

vec4 hook()
{
vec4 res = vec4(-0.000390877161408,-0.309097230434418,0.094712629914284,-0.464475274085999);
res += mat4(0.019502935931087,-0.031141957268119,-0.080151654779911,0.044762555509806,0.108863860368729,0.078441470861435,-0.086907468736172,-0.139151439070702,0.172368600964546,-0.180625408887863,0.000019470615371,-0.110297560691833,-0.051353856921196,-0.202099233865738,-0.090653948485851,-0.053205668926239) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.011016734875739,-0.037257961928844,-0.021026989445090,-0.023815786466002,0.069718323647976,-0.073182582855225,-0.053211756050587,0.056110896170139,0.187304750084877,0.173612520098686,-0.012897456996143,0.221787631511688,0.132751047611237,0.045196019113064,-0.042368214577436,0.063033536076546) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.047064062207937,-0.039465192705393,0.010472145862877,0.005798003636301,0.024076735600829,0.029809368774295,-0.162829935550690,0.080271646380424,-0.022327411919832,0.186272159218788,0.037007924169302,0.129145026206970,0.009187554009259,0.025623980909586,-0.010660397820175,-0.037886742502451) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.020147714763880,-0.041542280465364,-0.028060169890523,0.009683928452432,-0.149462491273880,-0.047385778278112,0.120126925408840,0.037565544247627,-0.144713386893272,-0.092627272009850,-0.081245861947536,-0.014829321764410,0.106515847146511,-0.143260285258293,-0.117623180150986,-0.010917595587671) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.017244314774871,-0.017488244920969,-0.056059900671244,0.013980790041387,-0.058333456516266,0.008762677200139,0.074629984796047,0.028542861342430,-0.245242118835449,0.020274056121707,-0.098565146327019,-0.290431320667267,0.121894590556622,0.160147920250893,-0.013482781127095,0.307644546031952) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.014857329428196,0.016429577022791,-0.030754303559661,-0.041045941412449,-0.078909248113632,-0.103861391544342,-0.054727897047997,0.087046138942242,0.043008044362068,-0.059914104640484,-0.044631201773882,-0.042317260056734,-0.042543217539787,0.082875639200211,0.051145516335964,0.033686444163322) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.015567788854241,0.001710156677291,-0.058356966823339,0.035459037870169,-0.087149284780025,0.045755643397570,0.012637747451663,0.015373880043626,0.040067229419947,-0.072723582386971,-0.051769834011793,-0.024872846901417,0.081782773137093,-0.063901737332344,-0.028782635927200,-0.095931172370911) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.041182421147823,0.023048562929034,-0.034727659076452,-0.022788386791945,-0.109896026551723,-0.055430840700865,-0.290523052215576,0.067609228193760,-0.013964018784463,-0.073738768696785,-0.055755190551281,0.031876601278782,-0.169264048337936,0.071855582296848,0.100274868309498,-0.019534761086106) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.021060368046165,-0.012364188209176,-0.009072976186872,0.019097676500678,0.100988522171974,0.061309017241001,-0.073289141058922,-0.098706640303135,0.003594736568630,-0.043974477797747,0.008257410489023,0.019162159413099,0.068238295614719,-0.023347752168775,0.091306626796722,-0.003684753552079) * MODEL1_texOff(vec2(1,1));
res += mat4(0.010588389821351,-0.046365577727556,0.119147300720215,0.001686909352429,0.104766890406609,-0.186717286705971,-0.067894600331783,-0.060369774699211,0.052811365574598,-0.058598831295967,-0.045573350042105,-0.045611169189215,-0.016661535948515,-0.076376959681511,0.035883057862520,-0.064160481095314) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.088725909590721,0.016740912571549,0.187672287225723,-0.005244508385658,0.189424872398376,0.189600154757500,-0.062289714813232,0.153437092900276,-0.137003645300865,-0.130558058619499,-0.015415050089359,0.051978155970573,0.061493936926126,0.291400104761124,0.112499505281448,0.149642989039421) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.035942658782005,0.013643767684698,0.079434715211391,0.025639247149229,-0.016857516020536,-0.000268379342742,-0.005277361255139,-0.015090797096491,0.145128622651100,-0.050300944596529,-0.263893812894821,0.021874377503991,0.003344363067299,0.226536631584167,-0.033126585185528,-0.049296576529741) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.021539464592934,-0.104756206274033,-0.130822479724884,-0.056452035903931,0.110424764454365,-0.200420632958412,-0.012085518799722,-0.169384121894836,0.004662304185331,-0.110123537480831,0.107825934886932,-0.045504339039326,0.081266738474369,-0.139736205339432,0.025170693174005,-0.022901734337211) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.149515196681023,-0.038469783961773,-0.222140431404114,0.000957614334766,0.043328907340765,0.028883837163448,0.001823460333981,0.000667912128847,-0.028479771688581,0.135469451546669,-0.043849047273397,0.090708002448082,0.099693253636360,0.192302361130714,-0.054611962288618,0.289102047681808) * MODEL2_texOff(vec2(0,0));
res += mat4(0.032975733280182,-0.035693865269423,-0.021352581679821,0.019059738144279,0.000808321638033,-0.030424246564507,-0.053862307220697,0.015438489615917,-0.030495736747980,-0.003934684675187,0.064209297299385,-0.083795011043549,0.024626437574625,0.253159493207932,0.109109990298748,-0.027214637026191) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.014925683848560,0.060420222580433,-0.036076325923204,-0.042513210326433,-0.206748485565186,-0.122069336473942,0.015806227922440,0.075157925486565,0.029516734182835,0.005119390785694,0.017497766762972,0.088534139096737,-0.010212221182883,-0.070992857217789,-0.155261293053627,-0.159851789474487) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.011581366881728,0.042757488787174,0.014475791715086,0.045196905732155,-0.220110654830933,-0.128356233239174,0.020282030105591,-0.067059926688671,0.104382425546646,-0.051732596009970,-0.068983286619186,-0.093351043760777,-0.096856214106083,-0.233291804790497,-0.033568263053894,-0.224917396903038) * MODEL2_texOff(vec2(1,0));
res += mat4(0.002163931494579,0.052816197276115,0.007220003288239,0.040733817964792,-0.004739811643958,0.019627775996923,0.045265521854162,0.063287504017353,-0.017726285383105,-0.055679697543383,-0.011681147851050,-0.075398042798042,-0.107652179896832,-0.011704384349287,0.040934424847364,-0.041909523308277) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.018923653289676,-0.016426274552941,0.119330443441868,0.007862058468163,-0.005974559579045,-0.100352831184864,0.018217032775283,-0.101709306240082,0.045168790966272,-0.066587492823601,0.114582531154156,0.061576388776302,-0.084015578031540,-0.093657910823822,0.145446419715881,-0.211030289530754) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.045497406274080,0.141422450542450,-0.069624789059162,0.022649014368653,0.127619653940201,0.027345947921276,0.035178232938051,-0.214820340275764,-0.061787799000740,0.015305324457586,0.237793996930122,0.007505383342505,-0.127677068114281,-0.227535843849182,0.208044394850731,-0.253866374492645) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.001140190172009,-0.051290456205606,0.061417460441589,0.094418279826641,-0.074676163494587,0.095626026391983,0.027505649253726,-0.296802312135696,0.068071842193604,0.057861089706421,0.002818145556375,0.228238657116890,-0.130744829773903,-0.210561156272888,-0.178173795342445,-0.190333738923073) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.059060689061880,-0.001489204703830,0.047797489911318,-0.055239334702492,0.046345625072718,-0.079946607351303,-0.010424520820379,-0.012308507226408,-0.008504325523973,-0.108328290283680,-0.017886223271489,-0.104376859962940,-0.104175955057144,0.115741789340973,0.006883441470563,-0.267208069562912) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.140046045184135,0.115731261670589,-0.221552088856697,0.166388556361198,-0.237501010298729,-0.103097639977932,0.022686688229442,-0.217856049537659,0.099584721028805,0.002558154286817,-0.159158408641815,0.039758853614330,0.003064795164391,-0.177110016345978,0.039828151464462,-0.406829416751862) * MODEL3_texOff(vec2(0,0));
res += mat4(0.030720755457878,0.028445048257709,-0.022831456735730,0.066798083484173,0.052685182541609,0.226213082671165,0.063749194145203,0.177028119564056,-0.011696822941303,-0.026623293757439,0.050120335072279,0.050891585648060,-0.000469405611511,-0.122052930295467,0.027890766039491,-0.185416787862778) * MODEL3_texOff(vec2(0,1));
res += mat4(0.079500563442707,-0.058253847062588,0.054650705307722,-0.003134412225336,-0.061766467988491,-0.092190951108932,0.052002031356096,-0.033783182501793,-0.065136477351189,0.081011056900024,-0.083673655986786,-0.024886287748814,0.137565955519676,0.184556201100349,-0.124467335641384,-0.080686941742897) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.108174428343773,-0.068431578576565,-0.072094433009624,-0.056944541633129,0.107441343367100,-0.133423253893852,0.083846412599087,-0.029591135680676,-0.035045251250267,0.008915880694985,-0.007958193309605,0.065999574959278,0.171715781092644,-0.020474141463637,-0.106372520327568,-0.187857970595360) * MODEL3_texOff(vec2(1,0));
res += mat4(0.024294588714838,-0.067553155124187,0.000947834458202,-0.015222855843604,0.110573835670948,-0.085992678999901,0.011012182570994,0.104729011654854,-0.069553032517433,-0.010791330598295,0.015365259721875,-0.060625217854977,0.124048128724098,-0.098248764872551,-0.168389260768890,-0.051931522786617) * MODEL3_texOff(vec2(1,1));
res += mat4(0.010585114359856,0.033721331506968,-0.014406467787921,-0.001899588387460,-0.042045578360558,0.067237488925457,-0.164014294743538,0.122339308261871,0.007319104392081,0.010782524943352,0.001894097891636,-0.001448438386433,0.054530940949917,-0.021108511835337,-0.125366538763046,-0.130278229713440) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.000712992274202,-0.015374558977783,0.090560100972652,-0.077077329158783,0.009439575485885,0.114796690642834,-0.262080162763596,-0.210042670369148,0.010787229053676,0.009578375145793,0.000392904621549,-0.000522479938809,-0.146617904305458,0.108145438134670,-0.004566701594740,0.015029396861792) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.043489273637533,-0.102722473442554,-0.045777272433043,-0.022164188325405,0.085500940680504,0.151922151446342,-0.033678051084280,0.088693857192993,0.011902388185263,0.010758616030216,-0.000555989448912,0.000780896458309,0.040332477539778,-0.046354025602341,0.030782990157604,0.066692940890789) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.014739503152668,0.045295502990484,-0.076225526630878,-0.007673801388592,0.178938999772072,-0.067082591354847,-0.042013701051474,0.100233606994152,0.009765882045031,0.013532987795770,0.002221516799182,0.001939201261848,0.156516313552856,-0.002604033099487,-0.098064810037613,-0.155247911810875) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.156180828809738,0.037478700280190,-0.019181560724974,0.006622995715588,0.176873862743378,0.071561917662621,-0.131254732608795,0.133283257484436,0.012343029491603,0.011757853440940,0.000721742922906,0.003711822209880,-0.086245588958263,0.013297159224749,-0.018580717965961,0.071801461279392) * MODEL4_texOff(vec2(0,0));
res += mat4(0.037521410733461,-0.095552153885365,-0.075470544397831,-0.032984487712383,0.023478856310248,0.137115284800529,0.010473756119609,-0.078340433537960,0.012768859975040,0.012217032723129,-0.000117567607958,0.003699982073158,0.019789401441813,-0.038036949932575,-0.044916197657585,-0.048073720186949) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.076583065092564,-0.115406267344952,-0.006099605467170,-0.049817789345980,-0.002605608431622,-0.022130817174911,-0.082780949771404,-0.016578312963247,0.008978680707514,0.011369675397873,-0.003005919745192,0.005099727772176,0.083503231406212,0.000119012242067,-0.073342047631741,-0.051267869770527) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.027768693864346,-0.023113096132874,-0.022434432059526,0.005988471210003,0.036431863903999,0.014845615252852,-0.163061171770096,-0.098294816911221,0.010181312449276,0.010120101273060,-0.002821021014825,0.006394556723535,0.096953615546227,-0.012420647777617,0.076768554747105,-0.092096038162708) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.052528444677591,0.005046113394201,-0.034737002104521,-0.002863767789677,-0.033669292926788,-0.038498032838106,-0.023658996447921,-0.003176258178428,0.010793435387313,0.009989043697715,-0.006443084217608,0.007479048334062,0.005291153676808,-0.003811859525740,-0.001214061281644,0.001058757887222) * MODEL4_texOff(vec2(1,1));
res += mat4(0.146357402205467,0.048626553267241,0.131383776664734,0.024016160517931,-0.047450050711632,0.083278946578503,0.092169694602489,-0.008462390862405,0.105987943708897,-0.039907060563564,0.002907805144787,-0.017947839573026,-0.065302193164825,-0.023720193654299,0.058074381202459,0.008330198004842) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.138616427779198,0.229876935482025,0.278111994266510,-0.034408129751682,0.028766594827175,-0.091172426939011,-0.092677883803844,-0.064373098313808,0.036095257848501,0.125216454267502,0.061841778457165,-0.076293937861919,0.047389861196280,-0.035649962723255,0.204468071460724,0.112708278000355) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.045538943260908,-0.019501142203808,-0.239866197109222,0.012110500596464,-0.023749422281981,-0.020389456301928,-0.001677259802818,0.023055814206600,-0.007267100736499,-0.118602134287357,-0.038705904036760,0.104757450520992,0.021285435184836,-0.053875584155321,-0.125489667057991,-0.025210723280907) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.013099747709930,0.057696364820004,-0.027281794697046,-0.213528886437416,-0.035303331911564,-0.092282719910145,0.111064240336418,0.010890661738813,-0.076199024915695,0.018964843824506,0.067909605801105,-0.043224964290857,-0.061019260436296,0.020114272832870,0.049794428050518,-0.075042054057121) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.011602849699557,0.028071526437998,-0.179848715662956,0.078636951744556,0.075252503156662,0.108369424939156,0.130305171012878,-0.075684033334255,0.011463693343103,-0.097214192152023,-0.057204492390156,0.112469486892223,-0.001790125388652,-0.035097166895866,0.004574825521559,-0.135389998555183) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.016175705939531,0.185621902346611,-0.012130070477724,0.110205203294754,-0.011878259480000,0.063364543020725,0.018258985131979,-0.020345596596599,0.013939015567303,-0.045656189322472,-0.047371558845043,-0.153870046138763,-0.016016436740756,0.012740875594318,0.028995087370276,0.056220412254333) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.061730854213238,0.080720171332359,0.007584376260638,0.035342663526535,-0.056816726922989,0.026464065536857,0.012769527733326,0.032889887690544,0.129849731922150,-0.213807120919228,-0.139726921916008,-0.065777190029621,-0.026378635317087,0.041385769844055,-0.093384370207787,-0.024171922355890) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.059372860938311,0.023668058216572,-0.047745991498232,0.071613721549511,0.068563789129257,-0.009070496074855,0.030617661774158,0.053357455879450,0.019195813685656,-0.132420286536217,0.008965309709311,-0.075402840971947,0.148353308439255,-0.042388275265694,-0.018289705738425,0.035630062222481) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.005860302131623,-0.003131991485134,-0.010084792971611,0.100537464022636,-0.036770734935999,-0.094518177211285,-0.043997250497341,0.004769595805556,-0.010718762874603,-0.012890712358057,0.109618417918682,0.006424156483263,-0.004210531245917,-0.037127938121557,0.040884625166655,0.020360602065921) * MODEL5_texOff(vec2(1,1));
res += mat4(0.013835599645972,0.013763521797955,0.042233556509018,0.005738218314946,-0.014381087385118,-0.109346196055412,0.005770553834736,-0.020664131268859,0.000073109971709,0.032905042171478,-0.046376548707485,-0.018547439947724,0.060022324323654,-0.049342162907124,-0.050972718745470,0.005952486302704) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.081947840750217,0.037456527352333,0.059145804494619,0.050318080931902,-0.023371985182166,0.060140844434500,-0.086686126887798,0.049470249563456,0.054140850901604,-0.076938934624195,-0.099285796284676,0.147370636463165,-0.008376209996641,0.043889347463846,-0.063936345279217,-0.066315010190010) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.058152452111244,0.113617189228535,-0.060792759060860,-0.043229993432760,-0.076086148619652,-0.068991616368294,-0.047097124159336,0.030980823561549,0.004188276827335,0.004287369083613,-0.002756509697065,-0.068807169795036,-0.012427919544280,-0.061971843242645,-0.009263942018151,0.021161973476410) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.000124663274619,0.088659241795540,-0.024928964674473,-0.048168223351240,-0.003987121395767,-0.087445355951786,0.012952225282788,0.062433566898108,0.045183755457401,-0.116043344140053,0.041637182235718,-0.031018888577819,0.013547518290579,-0.012078748084605,0.088593229651451,-0.030998036265373) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.025940198451281,0.083051323890686,0.011994943022728,0.060396008193493,-0.130231738090515,0.149165824055672,0.095537014305592,-0.103615544736385,0.027991352602839,-0.134073808789253,-0.058646947145462,0.097629830241203,-0.013097831979394,0.087780557572842,-0.006733220536262,-0.081701859831810) * MODEL6_texOff(vec2(0,0));
res += mat4(0.044936727732420,0.079578883945942,-0.008933063596487,0.072552338242531,0.041437465697527,-0.056495238095522,0.014585385099053,0.014095396734774,-0.016675109043717,-0.038407463580370,0.077175818383694,0.020131053403020,-0.004411066882312,0.047679446637630,-0.002025738358498,-0.024302762001753) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.026717439293861,0.010252512991428,-0.040339596569538,0.035267762839794,0.020418843254447,-0.022075695917010,-0.029603224247694,-0.054996814578772,-0.057042624801397,0.047612767666578,0.059195380657911,0.066729977726936,-0.064313828945160,0.020375261083245,0.122980326414108,0.008021736517549) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.081758916378021,0.061692420393229,-0.011864764615893,0.082809954881668,0.054162248969078,-0.002877594437450,0.066438682377338,-0.028630187734962,0.034725435078144,-0.089730121195316,0.105202078819275,0.093236930668354,-0.002945434534922,-0.008697500452399,0.069132491946220,0.021139683201909) * MODEL6_texOff(vec2(1,0));
res += mat4(0.007480870466679,0.053896989673376,-0.085512056946754,-0.068899281322956,0.007028399500996,-0.050496697425842,0.053424883633852,-0.069926969707012,0.027982402592897,-0.022706361487508,-0.006044656038284,-0.022968070581555,-0.047258354723454,-0.062908299267292,0.013420747593045,-0.011777856387198) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.240944012999535,-0.082630529999733,-0.041211865842342,0.105980485677719) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 2_3

vec4 hook()
{
vec4 res = vec4(-0.005634582601488,0.079077906906605,0.035898257046938,-0.167978912591934);
res += mat4(0.028574828058481,0.009829945862293,-0.019905701279640,0.001290602376685,-0.134101271629333,-0.021317975595593,0.069334931671619,-0.042264644056559,-0.074464015662670,-0.110585354268551,-0.003838591743261,-0.074607402086258,-0.045419920235872,0.053986005485058,-0.033984549343586,-0.009152582846582) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.018146222457290,-0.016886159777641,-0.024947602301836,0.019239559769630,-0.022074898704886,0.073659405112267,-0.123162470757961,-0.052459921687841,-0.025171251967549,0.220860391855240,-0.106138974428177,-0.152151912450790,0.037459272891283,-0.128518462181091,0.065510600805283,-0.119704999029636) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.001928970450535,-0.012941046617925,-0.012877620756626,0.001534088281915,0.046931695193052,-0.030924949795008,-0.050575479865074,-0.051610060036182,-0.113093420863152,-0.043736763298512,0.012837201356888,0.158146992325783,-0.032176464796066,0.053348012268543,0.000073225084634,-0.061027966439724) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.014252074062824,-0.015757571905851,0.012739969417453,0.031156035140157,-0.270544111728668,-0.096911042928696,-0.020649679005146,-0.106073461472988,-0.049210883677006,0.102821581065655,0.028491895645857,-0.019712781533599,0.007298921700567,-0.052315156906843,-0.303665250539780,0.123620666563511) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.005316488444805,0.007673582993448,0.012801373377442,-0.002390719251707,-0.210154026746750,0.051480282098055,-0.191493794322014,0.022915033623576,-0.214499980211258,-0.146574601531029,-0.008859843946993,0.158224835991859,-0.114187315106392,0.009904172271490,-0.066632494330406,0.339227408170700) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.034552227705717,0.008170000277460,-0.005651049781591,-0.005256162956357,-0.154120281338692,-0.036249041557312,0.059875413775444,-0.104194268584251,-0.018296450376511,0.000928568071686,0.108971916139126,-0.050874765962362,0.103501915931702,0.127068623900414,0.151780694723129,0.088877469301224) * MODEL1_texOff(vec2(0,1));
res += mat4(0.019283831119537,0.029351791366935,0.030596794560552,-0.003931333776563,-0.172598943114281,0.016402747482061,0.020992469042540,-0.048926323652267,-0.150558441877365,-0.039877772331238,0.020549442619085,-0.053346481174231,-0.132662713527679,-0.061387728899717,-0.042681410908699,-0.020655298605561) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.009025904349983,0.032535649836063,-0.015675337985158,0.003614136716351,0.075642026960850,-0.011758942157030,-0.045525550842285,-0.012782964855433,-0.164032652974129,0.025093028321862,0.030867530032992,-0.000830636068713,-0.109457574784756,-0.045935157686472,0.053670875728130,-0.057633358985186) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.025067133828998,0.039885450154543,0.005284904967993,-0.013563890941441,-0.053971149027348,0.011790627613664,-0.091481685638428,0.048877071589231,0.030475843697786,0.005151165649295,-0.027653707191348,-0.021672204136848,0.083144508302212,-0.048522572964430,-0.088417008519173,-0.068377658724785) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.034456726163626,0.076557822525501,-0.066814340651035,-0.033247269690037,0.262575536966324,-0.200590759515762,0.003430034499615,0.124181710183620,-0.091893695294857,-0.045847181230783,-0.066932231187820,-0.032357435673475,-0.066470138728619,0.030354781076312,0.017496474087238,0.017878919839859) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.049886029213667,-0.098421186208725,0.004982570186257,0.084010243415833,0.158892065286636,0.122464217245579,-0.091120705008507,-0.084123447537422,0.041520424187183,-0.097563154995441,-0.077183537185192,0.020742196589708,-0.026350196450949,0.023494139313698,0.041159838438034,0.060006354004145) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.047506794333458,-0.081559233367443,0.004414972383529,0.029004516080022,-0.079404048621655,0.009138030931354,-0.017523983493447,-0.058706201612949,0.082053638994694,0.046639144420624,-0.041385583579540,-0.151036977767944,0.023107744753361,-0.032631110399961,0.134094223380089,0.129091054201126) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.028849150985479,0.247935786843300,-0.044672671705484,-0.044736962765455,0.023126777261496,-0.413453102111816,-0.016353873535991,0.074407897889614,0.058731749653816,-0.074519090354443,0.048734620213509,-0.102333068847656,-0.042042698711157,0.068517677485943,0.008827216923237,0.037514407187700) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.042211674153805,-0.035675048828125,0.041008580476046,0.010348687879741,0.021155195310712,0.302801609039307,0.022895488888025,0.166359812021255,0.066756270825863,0.076833561062813,0.084640406072140,-0.035636957734823,0.068975061178207,0.103959977626801,-0.063122428953648,0.074488773941994) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.048931792378426,-0.145930975675583,-0.084809809923172,-0.020221717655659,-0.046646468341351,-0.064995631575584,0.086761265993118,0.020793516188860,-0.057304963469505,0.021933291107416,0.033350799232721,-0.048681207001209,0.054062020033598,-0.027195094153285,-0.000678312848322,0.103056155145168) * MODEL2_texOff(vec2(0,1));
res += mat4(0.007190024945885,-0.067865192890167,0.030591055750847,-0.056633893400431,-0.010279450565577,-0.214409038424492,0.141002163290977,0.111156143248081,0.029063155874610,-0.031778693199158,-0.018649162724614,-0.073466606438160,-0.032207626849413,-0.014234349131584,-0.052306812256575,-0.058964047580957) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.032620415091515,0.004550701007247,0.040522512048483,0.037909958511591,-0.113156415522099,-0.034372609108686,-0.170990437269211,-0.009945600293577,0.093845248222351,-0.074013061821461,-0.037214662879705,-0.021834097802639,-0.025989253073931,-0.056954782456160,-0.021760884672403,0.167302682995796) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.001960797002539,0.046089243143797,0.118102446198463,0.051388446241617,-0.080969795584679,0.055350240319967,-0.045804966241121,-0.073272906243801,0.025066602975130,-0.012650108896196,-0.005447862669826,-0.075918614864349,0.091775096952915,0.042594399303198,-0.013602986931801,0.043836351484060) * MODEL2_texOff(vec2(1,1));
res += mat4(0.043718371540308,-0.005660060327500,-0.089607343077660,-0.136536449193954,0.044205874204636,0.015560573898256,-0.032078426331282,0.022556018084288,-0.073379673063755,0.053316660225391,-0.060972467064857,-0.133885174989700,-0.110113807022572,0.086138136684895,0.086258322000504,0.087695039808750) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.020269077271223,0.027845120057464,-0.150549978017807,0.016596276313066,-0.114618428051472,-0.027225883677602,0.057898193597794,-0.005632466170937,0.036920413374901,-0.011219659820199,0.013409932143986,-0.022901874035597,-0.001846327912062,-0.074827641248703,0.177887275815010,0.110433548688889) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.002181541407481,-0.010531069710851,-0.034983094781637,-0.053703956305981,0.075214773416519,-0.031255170702934,0.183047667145729,-0.004764977376908,-0.044133767485619,0.049487546086311,0.086174041032791,0.041956700384617,-0.193797945976257,-0.052808869630098,0.000103533973743,0.007514655590057) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.084596283733845,-0.227495923638344,-0.040125936269760,-0.010920304805040,-0.095217026770115,0.112729273736477,-0.022127188742161,-0.149502933025360,-0.028510220348835,0.139643326401711,-0.082434661686420,-0.199413821101189,-0.012470813468099,0.249796018004417,-0.015222600661218,0.023789454251528) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.123346269130707,0.143542721867561,-0.067868620157242,-0.141055881977081,-0.147060334682465,-0.091980323195457,-0.067347459495068,-0.088222779333591,0.037787228822708,-0.052024077624083,0.083059601485729,-0.069770574569702,-0.027845062315464,-0.296710014343262,-0.284536659717560,-0.184234455227852) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.035047277808189,-0.037908539175987,-0.127980664372444,0.063370130956173,0.010804927907884,0.001750309835188,-0.040236834436655,0.032147187739611,-0.027226954698563,0.037650108337402,-0.046936184167862,-0.034982025623322,0.050518687814474,-0.036126457154751,-0.047149926424026,-0.165319755673409) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.016086407005787,-0.159453466534615,-0.170974597334862,-0.119478873908520,-0.090614609420300,0.095488391816616,-0.137167841196060,-0.081583991646767,-0.068674080073833,-0.075227148830891,-0.044539000838995,-0.042880095541477,0.152727350592613,-0.040279600769281,0.046674411743879,0.074668221175671) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.137812539935112,-0.104854822158813,0.061424568295479,0.007595348171890,-0.027818834409118,-0.200209870934486,-0.046478252857924,-0.084078945219517,0.049121867865324,0.055204160511494,0.096468001604080,0.058564264327288,0.092072732746601,0.050319544970989,0.066340625286102,0.005615443922579) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.078596562147141,-0.086658380925655,0.039335831999779,0.095699124038219,-0.063388831913471,-0.011174342595041,-0.203155696392059,0.018705517053604,0.059305328875780,-0.056332271546125,0.094220884144306,0.035969141870737,0.016271958127618,0.034633822739124,-0.075926519930363,-0.021122865378857) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.152630910277367,0.046516541391611,-0.092045165598392,0.052143629640341,0.005404454190284,0.119259901344776,-0.006699283141643,0.014605161733925,0.002648354973644,0.001905109500512,-0.015210383571684,-0.000770596379880,-0.103047534823418,0.157481640577316,0.008900307118893,-0.104043863713741) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.012105125933886,-0.072751864790916,0.031083399429917,-0.037059333175421,-0.043070159852505,-0.122432887554169,-0.324679464101791,0.058146543800831,0.003215780481696,0.003551190719008,-0.012680034153163,-0.000278573075775,-0.102179348468781,-0.150919675827026,-0.079725481569767,0.050235643982887) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.037449516355991,0.033474940806627,-0.045359980314970,0.019113369286060,-0.057116162031889,0.027368448674679,-0.160465702414513,-0.009491342119873,0.002622996922582,-0.002764855511487,-0.010612739250064,-0.000531736004632,0.029537186026573,-0.017270036041737,-0.069508016109467,0.021568860858679) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.073001436889172,0.036161202937365,-0.032264143228531,-0.077284097671509,0.031973741948605,-0.251198738813400,-0.060254361480474,-0.012411155737936,0.002504612784833,0.001278931391425,-0.007277274038643,0.002844720846042,-0.157059326767921,0.105205781757832,-0.065641276538372,-0.025719370692968) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.019343262538314,0.014364225789905,-0.051015980541706,0.092184416949749,0.084921807050705,0.241008564829826,0.373602956533432,0.112092621624470,0.002545774914324,0.001848848303780,-0.003073375672102,0.004262144677341,-0.047119855880737,0.051757048815489,-0.030689306557178,0.091819122433662) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.072010196745396,0.012886840850115,-0.024154771119356,-0.107985645532608,-0.236955612897873,0.050388932228088,0.044547006487846,0.015318593941629,0.002477110363543,-0.001874942914583,-0.004714341368526,0.004313101526350,0.016157727688551,0.025051934644580,-0.020236046984792,0.169282704591751) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.107556216418743,0.000049591275456,-0.020100379362702,-0.000721869757399,0.055608369410038,0.035840637981892,0.010951752774417,-0.114309616386890,0.002028859220445,0.000042859348468,0.004276101943105,0.001490943715908,-0.157364547252655,-0.079173639416695,-0.051277771592140,-0.020041922107339) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.100639380514622,0.048507079482079,-0.001639273483306,-0.015304846689105,0.263531446456909,0.037567365914583,-0.020620172843337,-0.030874691903591,0.002344628097489,0.000561735418160,0.005660426337272,0.001854698406532,-0.022775622084737,-0.072189763188362,-0.014963944442570,0.221352800726891) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.085251942276955,-0.062915898859501,-0.046285975724459,-0.175237596035004,-0.137026280164719,-0.061034478247166,0.071244455873966,-0.015818769112229,0.002290072385222,-0.002519015688449,0.006393319927156,0.001776468125172,-0.078432239592075,-0.046119671314955,0.054609760642052,0.081640109419823) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.112412542104721,-0.026985041797161,-0.020256111398339,-0.015776965767145,-0.118366874754429,0.005563932936639,-0.094900444149971,-0.025320757180452,0.075351521372795,-0.123728454113007,-0.125290095806122,-0.083842106163502,-0.008972420357168,0.060848336666822,-0.022329941391945,-0.061696246266365) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.064965479075909,0.117041580379009,-0.000415476504713,-0.011624658480287,0.150420844554901,-0.012638092041016,0.014605758711696,-0.027178527787328,0.059357218444347,0.100010223686695,-0.054363217204809,0.110837496817112,0.047833152115345,-0.082969956099987,0.066083751618862,0.002024072455242) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.086964905261993,0.046198647469282,-0.040957007557154,0.129653364419937,0.026515407487750,-0.058351773768663,0.080141566693783,0.045990258455276,0.024899341166019,-0.066927284002304,-0.008975801058114,-0.006282691843808,0.079058565199375,0.043531481176615,0.065934717655182,-0.000231245678151) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.056841913610697,0.361440390348434,0.055572222918272,-0.044155422598124,-0.232378810644150,-0.012353091500700,0.014044246636331,0.011316007934511,0.035613231360912,-0.101890638470650,-0.027330504730344,-0.083389855921268,-0.032583795487881,0.244432836771011,0.009925306774676,-0.030092807486653) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.053618092089891,-0.160855084657669,0.022623565047979,0.011688109487295,0.176438003778458,-0.015476267784834,0.067303150892258,-0.077211365103722,0.196906387805939,0.097277551889420,-0.019806541502476,-0.001728730974719,0.035569999366999,-0.300233304500580,-0.069233521819115,0.005577744916081) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.178121641278267,0.056013651192188,0.163857460021973,0.008034471422434,0.058520399034023,0.056599903851748,-0.003477852791548,0.078939303755760,-0.109690003097057,-0.034271847456694,0.058123722672462,-0.100483037531376,0.017793744802475,0.036653231829405,0.007275216747075,0.105847030878067) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.090152755379677,0.011613523587584,-0.052011139690876,-0.047350481152534,-0.044176872819662,0.017574453726411,-0.004416651558131,0.114160887897015,0.216155722737312,0.096180617809296,0.074805133044720,0.024907650426030,-0.017750307917595,-0.074082687497139,0.071847327053547,-0.041267946362495) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.138443201780319,-0.029142266139388,0.016636984422803,0.074802443385124,0.053052768111229,-0.017557438462973,-0.036070801317692,-0.061592686921358,0.026463489979506,0.054575111716986,-0.059730079025030,0.061321206390858,0.037851177155972,0.011403577402234,-0.098368071019650,-0.035362306982279) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.161676615476608,-0.047244872897863,0.032221831381321,0.032137885689735,-0.070582091808319,-0.043869316577911,-0.061180032789707,-0.024586619809270,-0.036455649882555,0.072964176535606,-0.020374333485961,-0.035342507064342,-0.018146539106965,0.026075085625052,-0.026506073772907,-0.035443611443043) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.028588788583875,-0.040158279240131,0.014351096935570,0.138586103916168,0.038772873580456,-0.007695514243096,-0.004776399582624,-0.092018805444241,-0.024043902754784,0.003010035958141,0.027453307062387,-0.009116906672716,-0.010866257362068,-0.028216104954481,0.026104828342795,-0.086247429251671) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.070133954286575,0.157359033823013,0.083561480045319,0.100318744778633,-0.097712561488152,0.079278334975243,-0.049504514783621,0.198904797434807,0.169139787554741,-0.389079332351685,-0.098961822688580,0.090548940002918,-0.015170347876847,-0.025723353028297,-0.039461817592382,0.149861708283424) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.045892633497715,-0.004966427106410,0.109029717743397,0.107652813196182,0.061059854924679,-0.065294913947582,-0.044454533606768,-0.028266817331314,0.011514317244291,0.019273690879345,-0.001146637485363,-0.009831729345024,-0.015615993179381,-0.041054394096136,0.018958644941449,-0.034474946558475) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.100321643054485,-0.102741941809654,0.048908159136772,0.086874336004257,-0.103328108787537,-0.091108925640583,-0.026645284146070,0.088045045733452,0.028540559113026,-0.004457114730030,-0.089855648577213,-0.089356943964958,0.118077084422112,-0.062842540442944,-0.063000626862049,-0.001469405950047) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.001270228880458,-0.140248626470566,-0.004028443712741,0.049987573176622,-0.019241051748395,0.045103829354048,0.067026928067207,0.148321226239204,-0.011432449333370,-0.043166525661945,0.154594510793686,0.564560651779175,0.054926201701164,0.003933495841920,0.035783175379038,0.090417943894863) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.098623342812061,-0.019233534112573,0.102948106825352,-0.017099399119616,-0.067457742989063,0.043440055102110,0.148211747407913,0.142088115215302,-0.043176900595427,-0.051119729876518,-0.119191594421864,-0.056282863020897,-0.023826239630580,-0.008084590546787,0.090586319565773,0.024291440844536) * MODEL6_texOff(vec2(0,1));
res += mat4(0.014489300549030,-0.022248657420278,0.022336574271321,0.030187221243978,0.044181689620018,-0.023620851337910,-0.105970703065395,-0.111613348126411,0.066816121339798,-0.025364276021719,0.045716859400272,-0.035937584936619,0.075793147087097,0.015718165785074,0.043119899928570,-0.017071302980185) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.069124415516853,0.019333610311151,0.119297698140144,0.116190426051617,0.031274259090424,0.126706883311272,-0.058543778955936,-0.139407396316528,-0.052091129124165,0.052098125219345,-0.071124963462353,0.168751016259193,0.014404125511646,-0.007026603911072,0.001026293728501,0.078826554119587) * MODEL6_texOff(vec2(1,0));
res += mat4(0.095640525221825,0.055987607687712,0.053252216428518,-0.031281691044569,0.119638323783875,-0.103979028761387,-0.065242558717728,-0.033772740513086,-0.073166593909264,0.089190289378166,0.102307088673115,0.067672237753868,-0.033640053123236,-0.062744304537773,-0.043588686734438,0.069585412740707) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.123145259916782,0.022095125168562,0.062783889472485,0.046044487506151) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 2_4

vec4 hook()
{
vec4 res = vec4(-0.044911269098520,-0.059246048331261,-0.015039543621242,-0.246564596891403);
res += mat4(0.002311100484803,0.022212320938706,0.035354252904654,-0.018136633560061,-0.057230941951275,-0.024207059293985,0.139793887734413,0.115804411470890,0.105899780988693,0.136476218700409,0.031634822487831,0.004117363132536,-0.122674629092216,-0.048879817128181,0.190254345536232,0.034840889275074) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.008614775724709,0.058596104383469,0.027811292558908,-0.023729778826237,-0.032804105430841,-0.072511270642281,-0.045305635780096,0.095131367444992,-0.012314857915044,-0.190402984619141,0.333888500928879,0.016224706545472,0.171835675835609,-0.018397781997919,-0.272463023662567,-0.151337131857872) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.031099157407880,-0.015006984584033,0.062388159334660,-0.021419642493129,0.012333318591118,-0.051864381879568,-0.045829486101866,0.080907985568047,0.043545216321945,-0.119512394070625,-0.356230735778809,-0.046613279730082,-0.126099556684494,0.049039088189602,0.071813054382801,0.021689804270864) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.030902523547411,0.049407824873924,-0.041048943996429,-0.031608823686838,0.035292074084282,-0.140037253499031,0.175495669245720,-0.105810694396496,0.103049144148827,-0.121897138655186,-0.064816564321518,0.011980350129306,0.248437494039536,0.121992960572243,0.119814567267895,-0.129440814256668) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.026632111519575,-0.008069374598563,0.034031949937344,0.005545820109546,0.062657445669174,0.018782394006848,0.016923280432820,-0.096124596893787,0.087422259151936,-0.216957449913025,0.142884105443954,-0.174874171614647,-0.248826041817665,-0.124444693326950,0.018665550276637,-0.133572533726692) * MODEL1_texOff(vec2(0,0));
res += mat4(0.020840406417847,-0.031778231263161,0.010740286670625,-0.024183141067624,0.077761977910995,0.064808413386345,-0.097985520958900,0.040346369147301,0.050521817058325,0.268309116363525,0.014085662551224,-0.043372780084610,-0.055254064500332,0.029355928301811,-0.208675876259804,-0.064139910042286) * MODEL1_texOff(vec2(0,1));
res += mat4(0.022967204451561,-0.076072402298450,0.012822741642594,-0.018462859094143,0.005946760065854,-0.112201601266861,0.054887078702450,-0.145653277635574,-0.052813354879618,-0.014916289597750,0.023491933941841,-0.024252833798528,0.095264479517937,0.039880387485027,0.107635326683521,0.002305472502485) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.029247291386127,-0.048246107995510,0.047829851508141,0.011524585075676,0.022035744041204,-0.047268349677324,0.013913751579821,-0.236554026603699,-0.184590905904770,0.208187609910965,-0.086895897984505,-0.158392757177353,-0.148243650794029,0.123894385993481,-0.128177851438522,0.067104645073414) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.008749883621931,-0.027901276946068,-0.012804987840354,-0.025707688182592,-0.001845570164733,0.077951088547707,0.038148645311594,-0.061320289969444,-0.083096109330654,-0.125202432274818,0.057707320898771,-0.036048214882612,-0.056283898651600,0.034370366483927,0.021201349794865,0.013172731734812) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.012251239269972,-0.036461494863033,0.061229880899191,-0.037882599979639,-0.006316322367638,0.120727762579918,0.038673978298903,0.036263000220060,-0.023688081651926,0.066686518490314,0.035692419856787,0.054792027920485,0.053116317838430,0.032291013747454,-0.008159533143044,0.013402614742517) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.068328611552715,0.029970062896609,-0.096394822001457,0.081461146473885,0.296002924442291,0.117525994777679,0.079977855086327,-0.058867588639259,-0.052416995167732,-0.147009477019310,-0.034621145576239,0.057627182453871,0.034151583909988,0.062811173498631,0.071712173521519,0.002212809864432) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.046932093799114,-0.083968400955200,-0.039274048060179,-0.050416391342878,-0.068129323422909,-0.003136779647321,-0.020478868857026,0.008167368359864,0.018143869936466,0.071580693125725,0.112877354025841,-0.019138840958476,-0.028810959309340,-0.082959376275539,-0.099244609475136,-0.083942145109177) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.143657609820366,-0.098252423107624,0.006520866882056,0.112622790038586,0.173573017120361,0.145339608192444,0.042098272591829,0.020094947889447,0.074721358716488,-0.071979843080044,0.019587906077504,-0.091155081987381,0.051366966217756,0.038156952708960,0.096224039793015,-0.008665461093187) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.034785650670528,-0.098169289529324,-0.018788065761328,0.285681188106537,-0.435428053140640,0.049177665263414,0.297213643789291,-0.225673049688339,0.065839752554893,-0.011473040096462,-0.111704975366592,0.067742273211479,-0.079881891608238,-0.173263564705849,0.230809524655342,0.032539021223783) * MODEL2_texOff(vec2(0,0));
res += mat4(0.048616897314787,0.032481539994478,0.070471987128258,-0.060187906026840,0.256680846214294,-0.099303983151913,-0.101452343165874,0.203076004981995,-0.007124030031264,-0.063674919307232,-0.029958235099912,-0.028505925089121,-0.049872078001499,0.007291323505342,-0.243911176919937,-0.161943838000298) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.083699196577072,-0.042343236505985,0.051581580191851,-0.128256157040596,0.087071768939495,-0.156868711113930,0.043660953640938,-0.006038464605808,0.005411202553660,0.025575706735253,-0.100615128874779,-0.013535954989493,0.138041868805885,-0.019797449931502,-0.046881977468729,-0.025264723226428) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.153883904218674,0.123656854033470,0.053601119667292,-0.159041538834572,-0.010141045786440,-0.229446724057198,0.177953258156776,-0.239474773406982,-0.017431460320950,0.045858912169933,0.064533196389675,0.046957213431597,0.126279652118683,-0.021839004009962,-0.039259359240532,-0.053612191230059) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.048952557146549,0.010812982916832,-0.100706957280636,-0.134311974048615,0.008052511140704,0.069574765861034,-0.036466185003519,0.014106565155089,-0.061728160828352,-0.130426764488220,0.044363629072905,-0.038665469735861,0.014158102683723,0.151987597346306,0.075309351086617,-0.052312716841698) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.006637675687671,-0.000870236428455,-0.022780198603868,-0.063840769231319,0.002961030928418,0.075354896485806,0.060746662318707,-0.063265569508076,0.021660918369889,-0.048126287758350,-0.016116173937917,0.034172374755144,-0.132583528757095,-0.048735182732344,0.027725005522370,-0.006128868553787) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.009507832117379,0.074679821729660,-0.008412521332502,-0.007888413034379,-0.027605839073658,-0.089215636253357,0.023139376193285,-0.061703905463219,0.069650016725063,-0.036256957799196,-0.055537529289722,0.162218347191811,-0.130623251199722,-0.066851899027824,0.061215091496706,-0.004823018796742) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.016769945621490,-0.055532976984978,0.006098750513047,0.001070453668945,-0.039192821830511,-0.068738199770451,-0.015746295452118,-0.016984589397907,0.009492460638285,0.082821764051914,0.004622345790267,-0.045813657343388,-0.012301255948842,0.013405369594693,0.143159076571465,-0.123053953051567) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.066071726381779,-0.025809878483415,0.020247017964721,0.092427171766758,0.062912687659264,-0.080467641353607,-0.002302648965269,0.088673129677773,-0.066916570067406,-0.137858048081398,0.145476296544075,-0.024938801303506,0.015523297712207,-0.146962836384773,-0.394153088331223,0.244204625487328) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.065772317349911,0.011327345855534,-0.130932599306107,-0.233471974730492,0.034148331731558,-0.009738708846271,-0.148240894079208,0.060268703848124,0.047213535755873,-0.129576519131660,0.033576179295778,0.229206934571266,0.058197226375341,0.126205787062645,0.066113837063313,0.361745357513428) * MODEL3_texOff(vec2(0,0));
res += mat4(0.034557808190584,-0.017689092084765,-0.068710923194885,-0.046805076301098,0.059393968433142,0.024518307298422,-0.082818277180195,-0.039735760539770,-0.038359049707651,0.105171538889408,0.004581124521792,-0.052000205963850,-0.087041325867176,0.041250523179770,0.202088102698326,-0.082418307662010) * MODEL3_texOff(vec2(0,1));
res += mat4(0.010222173295915,-0.084477812051773,0.046311311423779,0.006915147416294,0.011687149293721,-0.162456631660461,0.089694499969482,0.009254564531147,0.005862472578883,0.130093723535538,-0.005013787187636,0.011589488945901,0.006873757112771,0.080660074949265,-0.223347678780556,-0.043061200529337) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.072825931012630,-0.027066880837083,-0.116804204881191,0.340626299381256,-0.005990611854941,0.030478175729513,-0.078010700643063,-0.040121387690306,0.006104832515121,0.166380226612091,0.040543545037508,-0.275788366794586,-0.024098938331008,0.096131853759289,-0.120441421866417,0.217073380947113) * MODEL3_texOff(vec2(1,0));
res += mat4(0.113981887698174,0.074501067399979,-0.080938443541527,-0.017888281494379,-0.079045392572880,0.069112017750740,0.112701855599880,-0.037494536489248,-0.003526545828208,-0.081252507865429,-0.058790389448404,-0.120323136448860,-0.101764969527721,-0.117002822458744,0.145411923527718,-0.017963722348213) * MODEL3_texOff(vec2(1,1));
res += mat4(0.000235744228121,0.047413479536772,-0.007730362471193,0.074815794825554,-0.074766434729099,-0.080940589308739,-0.100360244512558,-0.201773598790169,0.002740604104474,0.001891188090667,-0.000944455969147,-0.001821150188334,0.051224920898676,-0.086509004235268,-0.044358678162098,0.028591709211469) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.065280631184578,0.059639815241098,0.077906265854836,0.038181904703379,0.326258540153503,0.307734370231628,-0.058854673057795,0.079283662140369,0.005493680015206,0.002298721112311,-0.002147165592760,-0.001710264012218,0.022828383371234,-0.029540762305260,0.060183107852936,-0.048961471766233) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.030107688158751,-0.144734174013138,-0.024796893820167,0.099579960107803,-0.058359768241644,-0.046291001141071,0.070955723524094,-0.157502606511116,0.011654045432806,0.001830026158132,-0.007946665398777,0.003092868253589,-0.041408408433199,-0.021766180172563,0.024695437401533,-0.059310607612133) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.034332226961851,0.080734230577946,0.012921755202115,-0.063765056431293,-0.099377959966660,0.176614075899124,0.096148945391178,0.047320567071438,0.008419550955296,0.001404669717886,0.000250418408541,-0.002153189852834,0.008315989747643,-0.050301510840654,0.017077436670661,-0.003318702103570) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.065408743917942,-0.182390093803406,-0.014388022013009,0.011551047675312,-0.182677343487740,0.137763306498528,-0.037597887217999,-0.192988827824593,0.002713556634262,0.002282540081069,0.001049679820426,-0.002147138584405,-0.043157976120710,-0.071072660386562,-0.116188578307629,0.090783581137657) * MODEL4_texOff(vec2(0,0));
res += mat4(0.012600006535649,0.137831702828407,-0.134130626916885,-0.075954109430313,-0.054113563150167,-0.248190805315971,-0.088918000459671,0.057357117533684,0.010631084442139,0.001889731269330,-0.000159268369316,0.002094027819112,-0.095440201461315,-0.226461008191109,0.038011454045773,-0.042918119579554) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.023975629359484,-0.252317339181900,-0.026451840996742,-0.012407338246703,0.006910869386047,0.120990589261055,-0.040745284408331,0.028985839337111,0.007701044902205,-0.000769516802393,0.000690202636179,-0.001887827413157,-0.030813906341791,-0.063508965075016,-0.030487032607198,0.039607964456081) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.045006975531578,0.017419505864382,0.073028214275837,-0.024381617084146,0.146315723657608,-0.198512107133865,-0.035044249147177,0.211305037140846,0.003208678914234,-0.000120411437820,-0.000255409802776,-0.001963441958651,-0.053046558052301,0.059439849108458,-0.041613370180130,0.058036413043737) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.025401839986444,0.060954906046391,0.048883382230997,-0.011116763576865,-0.036334179341793,-0.102485865354538,0.043695431202650,0.024357540532947,0.012904408387840,-0.001081140129827,-0.005918507929891,0.000912335352041,-0.079681783914566,-0.103270515799522,-0.055120538920164,0.110482640564442) * MODEL4_texOff(vec2(1,1));
res += mat4(0.008717155084014,0.054727762937546,0.054565753787756,0.028534706681967,0.035570211708546,-0.195297017693520,-0.042079530656338,0.117352329194546,0.036605414003134,0.150612115859985,-0.004967853426933,-0.151806890964508,-0.086778432130814,0.016532564535737,0.022369761019945,0.019744658842683) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.025775892660022,-0.060230523347855,-0.038427967578173,-0.213600501418114,-0.006048614624888,-0.198211684823036,0.042100772261620,-0.055725034326315,0.000057346216636,0.152005851268768,-0.099024236202240,0.078012906014919,-0.028951253741980,-0.046373747289181,-0.117570601403713,-0.047553941607475) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.007776851300150,0.057604856789112,-0.120153039693832,0.054772712290287,-0.030241800472140,-0.035006143152714,0.062984809279442,-0.029969962313771,-0.033548381179571,0.001416175044142,0.108051985502243,-0.028655875474215,0.069909654557705,0.046346873044968,0.075286120176315,-0.046663131564856) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.041633270680904,0.035200413316488,0.009354840964079,0.068396173417568,-0.005778955295682,-0.261798769235611,0.093913860619068,-0.018533440306783,-0.010968355461955,0.247486457228661,0.023942155763507,-0.268898814916611,0.066999040544033,-0.148701518774033,-0.077104799449444,0.138479143381119) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.042381331324577,0.128913104534149,0.070733331143856,0.205558583140373,0.036264982074499,0.112734988331795,-0.099139384925365,0.023522360250354,0.005750781390816,0.091799326241016,-0.047864750027657,0.163891166448593,0.048275869339705,0.009329859167337,0.020837396383286,0.398154318332672) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.025590192526579,-0.007119631394744,-0.106658428907394,0.056133728474379,-0.016824649646878,0.130774334073067,-0.216274678707123,-0.048590421676636,-0.036961823701859,-0.128902941942215,0.089666940271854,0.094614133238792,-0.123451322317123,0.168325081467628,0.138183593750000,-0.213256269693375) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.017371483147144,-0.113646119832993,-0.024183833971620,0.039192050695419,0.028380598872900,0.236086368560791,-0.000524218368810,-0.077538289129734,-0.008148014545441,0.003887974889949,0.188832983374596,0.066448599100113,0.117750532925129,0.017147187143564,-0.014750890433788,0.001887151040137) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.048804793506861,0.102270811796188,-0.022552549839020,-0.032605785876513,-0.124654799699783,0.065050952136517,0.037345353513956,-0.079564467072487,-0.031495667994022,-0.146256521344185,0.065923236310482,0.012917184270918,0.053107906132936,0.030693417415023,-0.038224369287491,-0.112295731902122) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.001959195826203,0.024307643994689,0.079987190663815,0.078701220452785,0.019463311880827,-0.086396001279354,-0.010645005851984,0.167075708508492,-0.001919418689795,-0.049009926617146,0.043807160109282,0.063256815075874,-0.126137435436249,-0.024371335282922,0.059962991625071,-0.071384847164154) * MODEL5_texOff(vec2(1,1));
res += mat4(0.009523142129183,-0.059397444128990,-0.034423463046551,0.081528097391129,0.004938851110637,-0.085620820522308,-0.001690663862973,0.094140909612179,0.010315501131117,0.027518615126610,-0.091772966086864,-0.056620873510838,-0.058592692017555,-0.096700131893158,-0.072208680212498,0.017440401017666) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.035238046199083,-0.047417193651199,-0.071678631007671,0.073967695236206,0.082634299993515,0.211170673370361,-0.081255100667477,0.162972807884216,0.458272933959961,0.042166590690613,0.018174102529883,-0.082746855914593,0.020538276061416,-0.006813412997872,0.099818818271160,-0.018814938142896) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.001003553043120,0.076495133340359,-0.056494690477848,0.121350355446339,0.033784922212362,-0.037211731076241,0.070164650678635,0.058540236204863,0.041667278856039,0.006586915347725,-0.033454023301601,0.019126446917653,0.015435002744198,-0.042632181197405,0.007731418590993,0.026839053258300) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.006274082697928,-0.097200393676758,0.055044323205948,-0.095806263387203,0.031656205654144,0.045426260679960,-0.085277952253819,0.038181766867638,-0.066879659891129,0.013659540563822,0.142503663897514,-0.054971657693386,0.023798322305083,0.090161010622978,0.072402037680149,-0.013220927678049) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.027366658672690,0.192412897944450,-0.086701110005379,0.054192770272493,0.039123866707087,0.058948792517185,-0.049173358827829,-0.171302258968353,-0.517722547054291,-0.117665447294712,0.166808828711510,-0.020584659650922,0.014635062776506,-0.000541476183571,0.151225894689560,-0.030219716951251) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.002767224330455,0.111622504889965,0.039860662072897,0.113361746072769,-0.025348253548145,-0.103895217180252,0.071628294885159,0.085164792835712,0.192104652523994,-0.033474862575531,-0.055440679192543,0.169176355004311,0.011668356135488,0.040675137192011,-0.073798470199108,0.007673471234739) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.006203588563949,0.076168015599251,0.015804965049028,0.052521999925375,-0.027852257713675,-0.049196340143681,0.037019707262516,-0.015785021707416,-0.022009620442986,-0.084284208714962,0.004313267767429,-0.017777640372515,0.058983672410250,-0.017542200163007,-0.013350542634726,0.098785415291786) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.026660272851586,-0.045956958085299,-0.154808476567268,0.001298172865063,-0.018310563638806,0.138700455427170,-0.033362906426191,0.329934626817703,-0.130459964275360,0.010578461922705,0.169453456997871,-0.097403943538666,0.062999121844769,-0.048149496316910,0.024066498503089,0.072604715824127) * MODEL6_texOff(vec2(1,0));
res += mat4(0.011806980706751,-0.032353442162275,-0.019991688430309,0.086972698569298,-0.088528446853161,-0.136243060231209,0.043689180165529,-0.000254600832704,0.012229877524078,0.015004574321210,-0.083436079323292,-0.011937800794840,0.009083249606192,0.040468275547028,-0.050238177180290,0.116164296865463) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.933387935161591,-0.287262886762619,0.117861457169056,-0.002462116070092) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 2_5

vec4 hook()
{
vec4 res = vec4(0.080314762890339,-0.102609962224960,-0.035116139799356,0.005948040168732);
res += mat4(0.031043313443661,-0.000869771291036,-0.008409472182393,-0.013881653547287,0.001659768749960,0.015528305433691,-0.091914519667625,-0.054724037647247,-0.206779360771179,-0.146719366312027,0.020281307399273,-0.031540155410767,-0.023699792101979,0.028058577328920,0.208320811390877,-0.131918430328369) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.041712861508131,-0.003880651434883,-0.000131650682306,0.012776613235474,0.051896832883358,-0.069042585790157,-0.190439864993095,-0.014589421451092,0.174847453832626,-0.071581415832043,0.264546811580658,-0.135966390371323,0.052716530859470,0.040968820452690,-0.089556992053986,0.217427834868431) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.053913641721010,-0.004480190109462,0.027581442147493,-0.025906933471560,0.002423066413030,-0.014183356426656,-0.112536370754242,-0.003344041528180,0.075777523219585,-0.077829174697399,-0.113697588443756,-0.040952622890472,-0.051833532750607,0.061240956187248,0.007212534081191,0.002995669841766) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.003784928238019,-0.007072948850691,-0.006594929378480,0.012743331491947,-0.054698981344700,0.066195152699947,-0.155096441507339,-0.104781672358513,-0.170310318470001,0.082681566476822,0.124202862381935,0.025597123429179,-0.162192195653915,0.353921383619308,0.046830933541059,-0.082221850752831) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.056290801614523,-0.003849318949506,0.036046158522367,-0.015002336353064,-0.005531733389944,0.056735467165709,-0.069384165108204,-0.189917400479317,0.292862683534622,0.071803033351898,-0.190061911940575,-0.168746754527092,0.136216059327126,0.058671846985817,0.058123901486397,0.334149897098541) * MODEL1_texOff(vec2(0,0));
res += mat4(0.028253281489015,-0.048374116420746,-0.000061114944401,-0.050109066069126,0.007870435714722,0.069230601191521,-0.096536576747894,0.025020137429237,-0.062733322381973,0.059679791331291,-0.170397818088531,0.048315901309252,0.068492643535137,0.116529420018196,-0.099485382437706,-0.020310536026955) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.021844225004315,-0.012791714631021,0.026107722893357,-0.005747412797064,-0.033854357898235,0.042587336152792,0.003861945820972,0.196341708302498,0.049706824123859,-0.054285954684019,0.039517231285572,0.046299509704113,-0.038387659937143,-0.039932634681463,0.061667401343584,-0.038693990558386) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.008926563896239,0.002124316757545,0.052507083863020,-0.009186347946525,0.009862652048469,0.110154531896114,0.011483771726489,0.389416158199310,-0.038786496967077,0.079500831663609,-0.061702385544777,0.066106274724007,-0.046797856688499,0.199360117316246,-0.140745848417282,0.108629412949085) * MODEL1_texOff(vec2(1,0));
res += mat4(0.042043797671795,0.010622287169099,-0.026099735870957,0.005669982638210,0.013550561852753,0.091077812016010,-0.093265160918236,0.160112693905830,0.024717215448618,0.009120183065534,0.066289536654949,0.099175602197647,0.039025954902172,-0.125556513667107,0.045859739184380,-0.015041892416775) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.052838128060102,0.012248286046088,-0.036626234650612,-0.005063571967185,-0.006618919782341,-0.110881865024567,-0.039729759097099,0.017944818362594,-0.054436206817627,-0.011974588036537,0.039738353341818,0.014568344689906,-0.013047416694462,-0.052054442465305,0.010814758948982,0.042648646980524) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.028421008959413,0.096142403781414,0.046764276921749,0.114823646843433,0.006114412099123,-0.032997522503138,-0.063953116536140,-0.022115686908364,0.022021530196071,-0.072224937379360,-0.033366326242685,-0.017981017008424,-0.041070412844419,-0.077814042568207,0.068772874772549,-0.036861464381218) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.100137300789356,-0.010869244113564,-0.039012216031551,0.039788696914911,-0.087331935763359,-0.081927485764027,0.155418857932091,0.026344839483500,0.001421813271008,-0.074149705469608,0.022222191095352,-0.105236001312733,0.071649558842182,-0.022217409685254,-0.025440564379096,0.060943730175495) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.023428874090314,0.050599239766598,0.024283291772008,-0.071523457765579,-0.235424593091011,0.063079789280891,-0.237835779786110,-0.100233882665634,-0.003157765837386,-0.074515812098980,0.095202662050724,0.072117581963539,-0.078875593841076,-0.064602777361870,0.107301995158195,-0.037097591906786) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.114442512392998,0.106704324483871,-0.029696194455028,-0.012361121363938,-0.056284990161657,-0.101154074072838,0.145694762468338,-0.080019026994705,-0.062347698956728,0.130814164876938,-0.106552466750145,-0.063089676201344,0.125634342432022,-0.032016385346651,0.060272242873907,-0.164844065904617) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.040694575756788,-0.032175038009882,-0.009771549142897,-0.038585539907217,0.086763761937618,0.090366221964359,-0.055983543395996,-0.064943104982376,0.006837829016149,0.106502011418343,0.043755400925875,-0.004172957502306,-0.053489070385695,-0.006954667624086,-0.036711573600769,-0.058458559215069) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.024908062070608,-0.045284830033779,-0.005825015716255,0.021248543635011,-0.292428672313690,0.003727091243491,0.086266189813614,0.045913930982351,-0.040179245173931,-0.034208856523037,0.016682529821992,0.026167768985033,0.054834537208080,0.042156364768744,0.030140509828925,0.054317530244589) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.095239639282227,0.061865922063589,-0.001390519435517,0.056348897516727,0.031252361834049,0.079860389232635,0.151990458369255,-0.093678303062916,0.006374422460794,0.004475723020732,-0.154275357723236,0.062220647931099,0.120273157954216,0.006444196216762,-0.092610552906990,-0.000396491668653) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.014130521565676,-0.049178611487150,0.104038089513779,-0.000295028148685,0.092143625020981,0.066285476088524,-0.106217950582504,0.026264717802405,-0.056177347898483,0.001046158024110,0.083554558455944,-0.159616798162460,-0.155534461140633,0.044338054955006,-0.105973333120346,0.065136738121510) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.068390108644962,-0.185188844799995,-0.123421631753445,-0.076538182795048,-0.042796589434147,0.048085197806358,-0.066673986613750,0.052713911980391,-0.032020967453718,-0.049478936940432,0.080413468182087,0.025132041424513,-0.014468671754003,0.012947592884302,0.003838270902634,-0.079141743481159) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.002513806801289,-0.073832973837852,-0.123828321695328,-0.011950119398534,-0.005187505390495,-0.105702817440033,0.152865484356880,0.032507926225662,0.012634906917810,-0.057909846305847,0.054759841412306,0.038434602320194,-0.000115841510706,0.057234808802605,-0.072833836078644,-0.040836483240128) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.039541643112898,-0.020710844546556,-0.071322970092297,0.012316765263677,-0.025209674611688,-0.078462697565556,0.176352396607399,-0.056391790509224,0.031993903219700,-0.057624585926533,-0.078858688473701,-0.055561076849699,-0.010630957782269,0.009275270625949,0.064494840800762,-0.008026427589357) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.159472778439522,0.149591177701950,0.050495047122240,0.012324953451753,0.055516455322504,-0.043381892144680,0.056207794696093,0.031428024172783,-0.133945584297180,-0.036732822656631,0.224312469363213,-0.076993964612484,0.238424062728882,-0.021409234032035,-0.096028417348862,0.058675467967987) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.101203501224518,0.054915022104979,0.019937962293625,-0.022014960646629,0.079095236957073,-0.034454822540283,-0.042324051260948,-0.032365471124649,0.150194525718689,-0.069158934056759,-0.186341479420662,-0.058270130306482,-0.127992898225784,0.104470342397690,0.026448126882315,0.107107579708099) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.021564209833741,0.047890961170197,0.042700767517090,0.017322897911072,-0.029657267034054,-0.043190658092499,0.022669805213809,0.005530062131584,0.015774125233293,-0.112931206822395,-0.041245788335800,-0.151650860905647,-0.141714662313461,0.007819327525795,0.134274140000343,0.064715810120106) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.138165339827538,-0.012808249332011,-0.150342449545860,0.044714495539665,0.035474967211485,-0.008912321180105,-0.047572430223227,-0.079609274864197,-0.010344277136028,0.024059670045972,-0.071172907948494,0.041455902159214,0.150984689593315,0.006074279546738,0.005849977023900,-0.025410037487745) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.101606532931328,-0.095118008553982,-0.088085152208805,0.012107079848647,-0.195482537150383,0.000713593326509,-0.015258042141795,-0.029098084196448,-0.039037983864546,-0.009805396199226,-0.163508981466293,0.062785491347313,-0.109866939485073,0.012890106067061,-0.060683257877827,0.120926469564438) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.004064318723977,-0.021868551149964,-0.192596137523651,0.094565168023109,0.106578074395657,-0.065616495907307,-0.170343115925789,-0.004836268723011,0.041539724916220,0.012422857806087,0.150393202900887,-0.035862363874912,-0.054627735167742,-0.015430510975420,0.041061352938414,0.094423897564411) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.003267911728472,0.017021121457219,-0.096460364758968,-0.071463838219643,0.042425572872162,0.054714292287827,-0.013230754993856,-0.090036921203136,-0.002309303730726,-0.001418829429895,0.001190103823319,0.000871033640578,-0.058809861540794,-0.064048305153847,0.026569828391075,-0.009191866032779) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.026598053053021,0.060698334127665,0.006337031722069,-0.062021572142839,-0.020044872537255,-0.119716875255108,-0.195975854992867,0.197149083018303,-0.002010759199038,-0.001530449371785,0.003440403612331,0.003537449520081,-0.103098362684250,-0.055881462991238,0.039889920502901,0.022257464006543) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.081598013639450,0.002073286799714,-0.169495716691017,0.136278301477432,-0.055145248770714,0.157347381114960,0.177951902151108,-0.092118337750435,-0.005705718416721,-0.000996032496914,0.006229046732187,0.004997240379453,-0.019767822697759,-0.071258179843426,-0.132991001009941,0.027257516980171) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.066894032061100,-0.066450618207455,-0.044652596116066,-0.084330670535564,0.063628718256950,-0.044299405068159,-0.240997821092606,0.066265866160393,-0.001591299893335,-0.000998624251224,0.000918885983992,-0.000362095859600,0.025555815547705,-0.013893256895244,0.053245209157467,0.066621303558350) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.064516291022301,0.060907185077667,0.096060581505299,0.006433071568608,-0.132125228643417,0.036917451769114,0.137524649500847,0.108512893319130,-0.002006959170103,-0.000829406373668,0.002343215979636,0.000001008127583,0.068983882665634,-0.079695649445057,-0.110475219786167,0.027601351961493) * MODEL4_texOff(vec2(0,0));
res += mat4(0.076654456555843,0.018243424594402,-0.138939827680588,-0.115800634026527,0.018338544294238,-0.033492706716061,0.115457065403461,-0.087752282619476,-0.006301705259830,-0.000379424542189,0.004774089902639,0.005053851753473,0.014299487695098,0.039433538913727,0.020160282030702,0.037900850176811) * MODEL4_texOff(vec2(0,1));
res += mat4(0.032347701489925,0.052615668624640,-0.056312508881092,0.004291830584407,0.043356057256460,0.018752029165626,-0.091619938611984,-0.034308951348066,-0.002082768594846,0.006134429015219,-0.000548886600882,-0.000114835012937,0.042420193552971,0.034091524779797,-0.110714286565781,-0.082307480275631) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.035219565033913,0.093572944402695,-0.083680301904678,-0.025265865027905,-0.051463901996613,0.004576619714499,0.152671888470650,0.416799157857895,-0.002643910236657,0.004897067323327,0.001921690534800,-0.000100189165096,0.065792441368103,-0.001730272779241,-0.165313184261322,-0.051338858902454) * MODEL4_texOff(vec2(1,0));
res += mat4(0.022779379040003,0.067268468439579,-0.055533807724714,-0.206551879644394,0.058762717992067,-0.018810847774148,-0.063733711838722,-0.227344065904617,-0.006959308404475,0.004016547929496,0.003946629352868,0.005016013979912,-0.003049058141187,0.019355272874236,-0.024260770529509,-0.111251369118690) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.018320372328162,-0.162399709224701,-0.074427977204323,0.045747775584459,-0.033556472510099,0.069558359682560,0.124082751572132,0.027854027226567,0.012151520699263,-0.067461155354977,-0.246734678745270,0.020336842164397,-0.013546792790294,0.020345199853182,0.054462924599648,-0.051909785717726) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.057401999831200,-0.180064767599106,0.108016595244408,-0.210909262299538,0.018879864364862,-0.077545054256916,-0.159221753478050,-0.063917107880116,-0.004332049749792,-0.065606795251369,0.120923429727554,-0.062185920774937,-0.000614272197708,0.003184592351317,-0.070477902889252,-0.019568305462599) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.061366535723209,-0.122407168149948,-0.127976268529892,-0.021205833181739,0.022872930392623,-0.048968955874443,-0.031168624758720,-0.041782345622778,-0.037197232246399,-0.014911463484168,0.114559032022953,-0.028101611882448,0.042276285588741,0.059030879288912,-0.080951504409313,-0.009220862761140) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.006388381123543,-0.064333148300648,-0.024755537509918,0.024100251495838,0.126455709338188,0.037621133029461,0.169013142585754,0.166672453284264,-0.243993222713470,-0.135815918445587,0.004461132455617,-0.054818682372570,0.087731927633286,-0.136267885565758,0.075199306011200,0.050615847110748) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.127735808491707,0.270704060792923,-0.030789045616984,0.003185213543475,-0.021085329353809,0.071366071701050,-0.028257368132472,-0.045811202377081,-0.069894291460514,-0.103340446949005,0.266760796308517,-0.082814469933510,0.096750400960445,0.511197328567505,-0.131674498319626,-0.045361254364252) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.007447460666299,-0.173653289675713,-0.061809100210667,-0.085608795285225,0.122167192399502,0.028858387842774,-0.115570344030857,-0.046989776194096,0.041316654533148,0.067745849490166,0.096718937158585,-0.037839353084564,-0.118400447070599,0.006975678727031,0.051744557917118,-0.015721498057246) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.014615726657212,0.023075882345438,-0.023665038868785,-0.171490356326103,-0.109197929501534,0.012205080129206,-0.137863487005234,0.006700200960040,-0.044191405177116,0.029420988634229,0.330743968486786,-0.099514737725258,-0.069727718830109,0.000277459737845,-0.057523999363184,-0.054075736552477) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.071580402553082,0.023904001340270,-0.117894738912582,0.037364766001701,0.000179750437383,0.117989845573902,-0.084702260792255,-0.125516027212143,0.100711286067963,0.045255180448294,-0.097596183419228,-0.065103292465210,-0.044130321592093,0.113889493048191,-0.075864195823669,0.048314325511456) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.061603385955095,0.066725663840771,0.084279067814350,-0.118250973522663,-0.038941368460655,0.093309618532658,0.102718174457550,0.168037489056587,0.042284782975912,-0.010169610381126,-0.049580100923777,-0.010039816610515,0.162453427910805,-0.026533894240856,0.136652976274490,-0.041876357048750) * MODEL5_texOff(vec2(1,1));
res += mat4(0.066706493496895,-0.110017865896225,0.075436949729919,-0.044609088450670,0.006862424314022,0.016240146011114,-0.021118551492691,-0.027907429262996,0.039908383041620,-0.011265112087131,0.037628628313541,-0.040125105530024,0.018387988209724,0.038029450923204,-0.107415035367012,-0.009334381669760) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.095225520431995,-0.004904851783067,0.293657332658768,-0.127546444535255,0.133112281560898,0.037351079285145,-0.031176434829831,-0.070598028600216,-0.233902499079704,-0.047441355884075,-0.080424934625626,-0.003259515156969,-0.005362910684198,0.013581742532551,0.029983395710588,0.062875658273697) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.009506199508905,-0.099418796598911,0.007603191304952,-0.023058550432324,-0.024558719247580,0.005514034535736,0.009088252671063,-0.022638786584139,0.008790190331638,0.004507203586400,0.012675845995545,-0.007047752849758,-0.015321075916290,0.018454201519489,-0.052841644734144,0.006008329801261) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.038828313350677,0.072154350578785,-0.058556426316500,-0.031278066337109,0.009142004884779,-0.064464777708054,-0.080878026783466,-0.072836242616177,-0.040203463286161,-0.045551493763924,-0.076022185385227,0.069027297198772,0.095579557120800,0.280180066823959,-0.065576165914536,-0.047089599072933) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.064062327146530,0.162866666913033,-0.024203566834331,-0.064055748283863,-0.114799685776234,-0.031178539618850,0.110560931265354,-0.035351328551769,-0.008969111368060,0.047208994626999,-0.071033775806427,0.248373672366142,-0.048786528408527,0.033617161214352,0.102866746485233,0.040038306266069) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.006025137845427,0.186151802539825,-0.027453292161226,0.043663203716278,-0.019003868103027,0.025473577901721,-0.048616379499435,0.026190450415015,0.111902818083763,-0.020520320162177,0.053864993155003,0.036275569349527,-0.013929963111877,0.170617058873177,-0.013188287615776,0.016727091744542) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.087203025817871,0.057598017156124,-0.003576893126592,0.047679230570793,0.056533712893724,0.032411120831966,0.069427020847797,0.018601698800921,-0.067318007349968,-0.093449808657169,-0.000392826914322,-0.043269921094179,-0.036379922181368,0.040867488831282,-0.081100650131702,-0.020177181810141) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.015623226761818,0.020534548908472,0.064442090690136,0.004738758318126,0.073717035353184,0.131360501050949,0.001504609244876,0.072943240404129,0.075106821954250,0.045209363102913,0.065320290625095,-0.122446939349174,-0.041045371443033,0.011247654445469,0.042680438607931,-0.048850677907467) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.062553614377975,0.061775647103786,0.054036598652601,0.115082502365112,-0.053137119859457,-0.032665956765413,-0.034647077322006,0.042599063366652,0.017704689875245,-0.057164907455444,-0.006818833760917,0.007043318357319,-0.005070812534541,-0.031274955719709,-0.075029425323009,-0.031319439411163) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.066034130752087,0.005776846781373,-0.061104707419872,0.101128563284874) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 2_6

vec4 hook()
{
vec4 res = vec4(-0.158650025725365,0.050726715475321,-0.119033180177212,-0.035721715539694);
res += mat4(-0.017386589199305,0.009736932814121,0.000646932981908,-0.020128501579165,-0.221867322921753,-0.048470254987478,0.032951135188341,0.057631876319647,-0.059153717011213,-0.142160058021545,0.108748219907284,0.054757874459028,0.084897302091122,0.078806035220623,-0.036226451396942,0.055083036422729) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.026138138025999,-0.015730198472738,-0.007464703172445,0.023560903966427,0.032533049583435,0.050515845417976,-0.025808395817876,-0.080100782215595,-0.003202741034329,-0.141698271036148,-0.118499509990215,-0.127966269850731,-0.078939974308014,-0.164024814963341,-0.111829333007336,0.017307745292783) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.012151098810136,0.035260807722807,-0.000240417139139,0.036326285451651,0.070070132613182,-0.052374709397554,-0.098736830055714,-0.197460770606995,0.337483972311020,-0.099719002842903,-0.080556929111481,-0.015368236228824,0.083946153521538,0.120471835136414,0.226137354969978,0.011425964534283) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.012697071768343,-0.024598218500614,0.035195879638195,0.028318358585238,-0.200177609920502,-0.105529978871346,-0.027582969516516,0.026949586346745,-0.063448317348957,-0.116525188088417,0.095061309635639,0.133581832051277,-0.071440927684307,-0.033173933625221,-0.030844759196043,0.120900094509125) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.009670522063971,0.013921451754868,0.014580312184989,-0.001736051985063,0.014100993052125,0.126819625496864,0.038958173245192,-0.072328694164753,-0.012031581252813,-0.024502053856850,0.114873409271240,0.052906278520823,-0.086597181856632,0.042857196182013,0.064714394509792,0.046505723148584) * MODEL1_texOff(vec2(0,0));
res += mat4(0.022112024948001,0.012980653904378,0.024292103946209,0.014420694671571,0.040950190275908,-0.056364309042692,-0.068487435579300,-0.025856375694275,-0.041068628430367,-0.081875123083591,-0.044019579887390,-0.038702756166458,-0.258659034967422,-0.058353397995234,0.019415436312556,-0.072804868221283) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.024662552401423,-0.045021697878838,-0.007957466877997,0.002487514400855,-0.046870969235897,-0.125787600874901,0.072560898959637,-0.060732223093510,-0.034808184951544,0.087973184883595,-0.042834997177124,-0.084892600774765,-0.001199651509523,0.019952109083533,-0.001933625666425,-0.049587041139603) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.036652874201536,-0.016033343970776,0.001354705309495,-0.011087021790445,-0.071601323783398,-0.047344531863928,0.003626130521297,0.136666268110275,0.141958788037300,0.040422011166811,-0.069578617811203,0.059432767331600,-0.086566768586636,0.074905186891556,0.160813748836517,0.014518042095006) * MODEL1_texOff(vec2(1,0));
res += mat4(0.012371697463095,-0.000456031470094,0.019593747332692,-0.036209903657436,-0.051507733762264,-0.029426403343678,0.046687729656696,-0.051688101142645,0.068427368998528,-0.059923611581326,0.012813174165785,0.035092167556286,-0.015824072062969,0.044906221330166,0.095436945557594,0.015685541555285) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.131548687815666,-0.032374732196331,-0.033453442156315,-0.020709745585918,0.096798308193684,0.202542200684547,0.174935117363930,-0.173404276371002,0.084017977118492,0.045581869781017,-0.008996096439660,0.046738285571337,0.016380466520786,0.155329182744026,0.081804163753986,-0.073380529880524) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.032667741179466,-0.091772392392159,0.035743243992329,0.018879892304540,0.036515515297651,-0.261034220457077,-0.345919370651245,-0.114600986242294,-0.000146206468344,-0.072443775832653,-0.049475669860840,0.287002801895142,0.023705374449492,0.001327722566202,-0.067178711295128,-0.051016341894865) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.054025661200285,0.021177859976888,-0.064987041056156,0.064649410545826,-0.028902744874358,-0.097696930170059,0.112533114850521,0.086381621658802,-0.066778235137463,-0.016795415431261,0.105289436876774,-0.078702203929424,0.127628713846207,0.051511645317078,-0.032437931746244,0.023863606154919) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.280018866062164,-0.028992904350162,0.001417888677679,-0.102378427982330,0.081651657819748,-0.082701981067657,0.090208172798157,0.148905292153358,0.106522656977177,-0.004486986435950,0.066237509250641,-0.197971314191818,-0.172333791851997,-0.064467355608940,0.013013493269682,-0.033368185162544) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.215655520558357,-0.141884088516235,0.115414105355740,0.016961857676506,-0.065165050327778,0.250288873910904,0.132727071642876,-0.194892570376396,-0.101666502654552,0.042762301862240,-0.223200723528862,-0.199278801679611,-0.039976388216019,-0.269584298133850,-0.025738241150975,-0.135899275541306) * MODEL2_texOff(vec2(0,0));
res += mat4(0.140256226062775,0.023554425686598,0.052457135170698,0.008435552939773,0.071234531700611,-0.085043214261532,-0.325017005205154,-0.046825785189867,0.083812706172466,-0.049582645297050,-0.086473584175110,0.067421220242977,0.208899572491646,0.015557012520730,-0.041761185973883,-0.020116377621889) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.020938768982887,0.005159340798855,-0.000565182999708,0.030952848494053,0.099895030260086,-0.047737311571836,0.006629376672208,0.167073398828506,0.023921731859446,-0.005634708795696,0.008635061793029,0.176553845405579,-0.045750245451927,-0.024249084293842,-0.017858225852251,0.105816662311554) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.023496234789491,0.217054739594460,-0.018153667449951,-0.111705824732780,-0.050153356045485,0.144618332386017,0.198440238833427,0.177818432450294,0.031539488583803,-0.021721335127950,0.068361036479473,-0.211818069219589,-0.010996440425515,-0.015568662434816,0.043120760470629,-0.013529251329601) * MODEL2_texOff(vec2(1,0));
res += mat4(0.012993901036680,0.065714150667191,-0.068982914090157,-0.031789176166058,0.025086058303714,0.042799789458513,-0.190587028861046,0.035733427852392,0.019046053290367,0.014668426476419,-0.115930080413818,-0.105212189257145,-0.015596712008119,0.088336899876595,-0.043610125780106,-0.024233112111688) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.095133811235428,-0.020512906834483,-0.103918544948101,-0.102296836674213,0.032161399722099,-0.071339808404446,-0.082811743021011,0.004369209520519,-0.001867431565188,-0.022293895483017,0.056649323552847,0.001993342768401,0.006089495029300,0.084904000163078,0.059729404747486,0.055574037134647) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.033087812364101,-0.007152460515499,0.019235447049141,-0.052068099379539,-0.030394703149796,0.036960456520319,-0.059581555426121,-0.009631679393351,-0.013030310161412,-0.128751590847969,-0.089813262224197,0.024684097617865,-0.031807933002710,-0.056488003581762,0.115925781428814,-0.034057162702084) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.007345388643444,-0.044850684702396,0.047414295375347,0.123133935034275,0.034620683640242,-0.053753521293402,-0.014125332236290,-0.034543376415968,-0.084783419966698,0.103587508201599,-0.071958087384701,-0.097162649035454,0.080471776425838,-0.032330296933651,-0.170554324984550,0.054337210953236) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.271830320358276,0.058176238089800,-0.081340625882149,-0.052520874887705,-0.144740864634514,-0.126799687743187,-0.091945953667164,-0.009388752281666,-0.246857449412346,0.027663940563798,0.011598037555814,-0.035756230354309,-0.080021366477013,-0.102453909814358,0.035545635968447,-0.033879961818457) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.093577541410923,-0.046967450529337,0.093728408217430,-0.056656051427126,0.075427062809467,0.175980925559998,0.042762458324432,-0.106165446341038,0.192910015583038,-0.184971854090691,0.131695836782455,0.153444170951843,0.499437600374222,-0.083531789481640,0.074550189077854,0.130234166979790) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.004920089617372,-0.090743355453014,-0.009914312511683,-0.053632903844118,0.056907672435045,-0.066814184188843,-0.026837859302759,-0.065152198076248,0.056800331920385,0.124630302190781,0.226239949464798,-0.037273626774549,-0.102786906063557,0.138459771871567,-0.110766872763634,0.046772073954344) * MODEL3_texOff(vec2(0,1));
res += mat4(0.040676508098841,0.104239456355572,0.015190997160971,-0.079827584326267,-0.027792518958449,0.081035934388638,-0.125287577509880,-0.107400774955750,0.011251902207732,0.025606673210859,-0.018340969458222,-0.011282930150628,0.028223514556885,-0.034231025725603,-0.018918618559837,-0.053039461374283) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.219327092170715,0.046765860170126,0.043343942612410,0.046057060360909,-0.021840281784534,-0.030714213848114,0.115339867770672,0.078720301389694,-0.134940743446350,0.248282507061958,-0.041221834719181,-0.120441101491451,0.191261604428291,-0.008917750790715,0.081273227930069,-0.064283214509487) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.067146971821785,0.045326858758926,0.079346328973770,-0.017090775072575,0.030272632837296,-0.016397524625063,-0.162767663598061,-0.102343000471592,-0.041221980005503,-0.038097787648439,0.030670808628201,0.041598971933126,0.081252589821815,-0.097120642662048,-0.151319026947021,-0.002695481060073) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.054209843277931,-0.089735455811024,-0.071891061961651,0.079316526651382,0.045761488378048,-0.181600451469421,-0.118547156453133,-0.132274016737938,-0.007098664995283,-0.001256698160432,-0.001052575884387,0.000931073271204,0.027454251423478,-0.114341653883457,-0.023613369092345,0.164369210600853) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.000939817924518,0.045027941465378,-0.084019072353840,0.012979890219867,0.221144065260887,-0.509555220603943,-0.087699584662914,0.115965634584427,-0.002044358756393,-0.000137515162351,-0.000838510692120,0.000491503975354,0.012840275652707,0.018100980669260,0.090320415794849,0.180427089333534) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.001858385629021,-0.051553990691900,-0.066096089780331,-0.067739717662334,0.092904046177864,-0.205961346626282,0.110277630388737,0.172664865851402,-0.000531384313945,0.001482592313550,-0.000503013143316,0.000829256954603,-0.062993295490742,0.088859647512436,0.242221117019653,0.184960633516312) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.121554315090179,-0.019272159785032,-0.076973520219326,-0.098425544798374,0.110654629766941,-0.006591108161956,-0.005254775751382,-0.025055391713977,-0.001426565577276,0.008218980394304,-0.000746172328945,-0.000863597611897,-0.061450943350792,0.051622677594423,-0.104056820273399,-0.129664584994316) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.001829148852266,-0.095273055136204,-0.122039720416069,-0.002602058928460,0.014310665428638,0.022492716088891,-0.091738194227219,-0.187997296452522,0.000385814404581,0.010010654106736,-0.000872975913808,-0.000394351227442,0.121866352856159,-0.038181729614735,-0.042788874357939,0.040197696536779) * MODEL4_texOff(vec2(0,0));
res += mat4(0.016894422471523,-0.080430693924427,0.059182979166508,-0.065253078937531,0.065415531396866,0.063164561986923,0.082427859306335,-0.089186221361160,0.000189358979696,0.011758402921259,-0.000642499944661,0.000293976685498,-0.024871114641428,-0.111756272614002,0.106815233826637,0.147760912775993) * MODEL4_texOff(vec2(0,1));
res += mat4(0.009738144464791,-0.112978018820286,-0.078566677868366,0.015665877610445,0.003055035835132,0.085238061845303,-0.075102895498276,0.172342106699944,-0.001277454779483,-0.000347663852153,-0.000762138923164,-0.003581730416045,-0.006394839845598,-0.064883746206760,-0.019667424261570,0.016356835141778) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.066508352756500,-0.001503798644990,-0.045241419225931,-0.097527809441090,-0.033702094107866,-0.082993723452091,-0.031905543059111,-0.027395779266953,0.000353301176801,0.003588703693822,-0.000860273779836,-0.002620219020173,0.053492054343224,-0.053023066371679,0.031367640942335,-0.160018399357796) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.026883289217949,-0.053951114416122,0.019058534875512,-0.096225559711456,0.001915135188028,-0.010440689511597,0.073831826448441,-0.120422050356865,0.002099737524986,0.007815525867045,-0.000678333104588,-0.000411851971876,0.000248489872320,-0.003185250796378,0.101546913385391,-0.042944002896547) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.143265590071678,-0.059447571635246,-0.011789416894317,0.051418993622065,0.079507172107697,0.014729112386703,0.007022935897112,-0.256341338157654,0.027052503079176,-0.062864355742931,-0.181789785623550,-0.202393978834152,-0.092789530754089,0.080853670835495,0.056040070950985,0.023226628080010) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.242560341954231,-0.339659035205841,0.044015631079674,0.163278505206108,0.079191103577614,-0.048710491508245,-0.168799564242363,0.084807895123959,-0.028290323913097,-0.139641836285591,-0.097895033657551,0.064087852835655,-0.102674566209316,0.092085026204586,0.013680534437299,-0.011778664775193) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.092107050120831,-0.192699402570724,0.014845407567918,-0.009628826752305,0.038203001022339,0.001254178234376,0.120672613382339,0.163254350423813,-0.024517165496945,-0.066210515797138,-0.038788512349129,0.095174252986908,-0.075554765760899,0.071613900363445,-0.064265109598637,-0.079484522342682) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.086696282029152,0.128800541162491,-0.045669861137867,-0.074591577053070,-0.048926398158073,-0.005825830157846,0.149849027395248,0.064388722181320,0.054058801382780,0.044773008674383,-0.214888229966164,-0.190591290593147,-0.093062907457352,0.002615547273308,0.001893804059364,-0.098698496818542) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.115203000605106,0.028678441420197,-0.068940013647079,-0.024664284661412,-0.058388531208038,0.048828661441803,-0.156760647892952,-0.283202558755875,0.112983092665672,0.117386274039745,0.010709408670664,-0.081858880817890,0.461386799812317,-0.119486078619957,0.052180361002684,0.076849542558193) * MODEL5_texOff(vec2(0,0));
res += mat4(0.000927234010305,0.014660290442407,0.005725557450205,-0.027718650177121,0.036138132214546,-0.070732317864895,-0.046905897557735,-0.240241482853889,0.065497979521751,-0.001142004271969,-0.192963764071465,0.032012730836868,-0.084738336503506,0.066695623099804,0.029373221099377,0.106826700270176) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.043061003088951,-0.010770376771688,-0.054059281945229,-0.042848926037550,-0.097993351519108,-0.030980832874775,0.098192773759365,0.218558728694916,-0.045694258064032,-0.006017312873155,-0.021885650232434,-0.052377324551344,-0.004744817502797,-0.050624642521143,-0.035993769764900,-0.031957674771547) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.065887197852135,0.131359025835991,0.086487986147404,0.101257480680943,-0.000603872234933,0.034792877733707,0.073054827749729,0.175497293472290,-0.012176979333162,-0.017771486192942,-0.005081734154373,-0.205764278769493,0.099250353872776,0.137734472751617,0.032727476209402,-0.103233128786087) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.033145587891340,-0.010847070254385,-0.034336712211370,0.077321186661720,0.102960385382175,-0.017712747678161,-0.154791519045830,-0.008564331568778,-0.023875068873167,-0.065864615142345,-0.147380724549294,-0.133766263723373,-0.025193527340889,-0.027198351919651,-0.034242723137140,0.076637260615826) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.020139923319221,-0.066523045301437,-0.094310186803341,-0.041859205812216,-0.072828114032745,-0.093205936253071,0.009460895322263,-0.073069401085377,-0.002095939591527,0.040769103914499,-0.012146214954555,-0.056239161640406,0.028760639950633,0.000905752938706,-0.007596604991704,-0.048018496483564) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.034668218344450,-0.012957870028913,0.073959104716778,-0.070245228707790,0.051869664341211,0.005872947629541,-0.013131163083017,-0.081455156207085,0.112884595990181,-0.116661742329597,-0.180452629923820,-0.036165121942759,0.072305515408516,-0.022383593022823,0.000441399140982,-0.074439674615860) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.008246010169387,0.039199959486723,-0.025416266173124,-0.196369707584381,-0.023974951356649,-0.070950061082840,0.072924338281155,-0.025322239845991,-0.000027254864108,0.009334036149085,-0.009631687775254,-0.031153406947851,0.005007416475564,0.002712910762057,0.006244315765798,-0.031060680747032) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.013614491559565,0.007070065941662,-0.074583582580090,0.014444428496063,0.045508760958910,0.042824469506741,0.000272598292213,0.079694107174873,0.111864052712917,0.050234116613865,-0.045972473919392,0.032708216458559,0.055754203349352,-0.059618014842272,0.062135089188814,-0.036472361534834) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.153390854597092,0.011803103610873,0.003409914672375,-0.006496834568679,-0.122179336845875,0.117072232067585,-0.035557553172112,-0.019683163613081,-0.055882342159748,0.120206549763680,-0.034328550100327,0.126492172479630,-0.015214402228594,-0.013182675465941,0.061621729284525,-0.033090837299824) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.044051002711058,0.013199375942349,-0.117902711033821,0.018142269924283,0.046465855091810,0.073995463550091,-0.053982574492693,0.011130327358842,-0.005582426674664,0.002401843899861,0.058943871408701,0.157830253243446,-0.032791271805763,-0.012688021175563,-0.014229189604521,-0.022380784153938) * MODEL6_texOff(vec2(0,1));
res += mat4(0.021831093356013,0.034764572978020,-0.138259738683701,0.021610822528601,-0.065809406340122,-0.052385661751032,0.011467398144305,0.081151761114597,0.031856190413237,-0.015553188510239,-0.054538924247026,-0.013904719613492,-0.006549164187163,0.048807866871357,0.020868491381407,0.088563658297062) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.149928122758865,-0.044919744133949,-0.079544194042683,0.164527222514153,0.078034631907940,0.016877094283700,0.059696994721889,-0.063607722520828,-0.150269210338593,0.091850578784943,-0.030782729387283,-0.003978599794209,-0.006063887383789,0.002992059336975,0.006138178519905,0.060733541846275) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.008589188568294,0.153298676013947,-0.108250424265862,-0.084126926958561,0.112683728337288,0.001422615721822,-0.074653960764408,-0.107033029198647,-0.067427448928356,-0.080391235649586,-0.031567197293043,0.013686081394553,0.020214259624481,0.011605886742473,-0.024616926908493,0.042424499988556) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.054265603423119,-0.040531277656555,-0.041667383164167,-0.137642890214920) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 3_1

vec4 hook()
{
vec4 res = vec4(0.095752321183681,0.039214141666889,-0.243674427270889,0.024954235181212);
res += mat4(-0.054602067917585,0.110391676425934,0.023965165019035,0.097220331430435,0.013291185721755,-0.184615001082420,0.078982435166836,0.009101685136557,0.077607475221157,0.056546434760094,0.098459325730801,0.115073867142200,0.033511776477098,-0.150195166468620,0.043973099440336,-0.028119107708335) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.047253962606192,0.006574443075806,-0.141172334551811,-0.019950119778514,-0.034938678145409,-0.070869669318199,-0.104098029434681,0.155911713838577,0.057137999683619,0.087586663663387,0.310699403285980,-0.048869922757149,0.149746075272560,-0.018169412389398,0.050933338701725,0.057336848229170) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.005840108264238,0.035855263471603,-0.073814980685711,-0.005769817158580,-0.003917493857443,-0.000976883457042,-0.080514200031757,0.110307931900024,0.000588439579587,0.268867880105972,0.148799970746040,-0.061081595718861,-0.010744555853307,-0.121160827577114,0.059193797409534,0.009097392670810) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.024248383939266,-0.058591991662979,-0.169629037380219,0.056349594146013,0.109541028738022,0.067621573805809,0.022105811163783,0.132537886500359,0.060932762920856,0.011720193549991,0.065711423754692,0.008189828135073,0.030386531725526,0.061445195227861,0.106393449008465,-0.120318062603474) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.006297625135630,-0.116416841745377,-0.008126317523420,-0.010519809089601,-0.070965372025967,-0.022965094074607,-0.032057378441095,-0.019788442179561,-0.036447040736675,-0.105420127511024,-0.000829695258290,-0.189958587288857,0.037942193448544,0.082376092672348,-0.045232914388180,0.049724899232388) * MODEL7_texOff(vec2(0,0));
res += mat4(0.141685977578163,0.060189388692379,-0.074534051120281,-0.094232603907585,-0.078720659017563,0.098740763962269,0.019002148881555,-0.042206343263388,0.000932349532377,0.107278451323509,0.024567786604166,0.057686023414135,0.008594915270805,0.025722051039338,-0.084907159209251,0.036650117486715) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.006910871248692,-0.179165422916412,0.025631282478571,0.077012658119202,-0.079474315047264,-0.096843689680099,-0.044526915997267,0.032567974179983,0.039558842778206,0.018036400899291,0.068277284502983,0.022733259946108,-0.031823880970478,-0.115780837833881,-0.082887336611748,-0.067955218255520) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.072232075035572,0.005207463167608,-0.161685705184937,-0.073929108679295,-0.001691919285804,-0.029927683994174,-0.095202185213566,0.035985015332699,-0.054638769477606,-0.136032998561859,0.278934478759766,0.095643877983093,0.036390133202076,-0.057629529386759,0.001073960331269,-0.111279793083668) * MODEL7_texOff(vec2(1,0));
res += mat4(0.060427181422710,-0.025162195786834,-0.141560912132263,-0.050085224211216,-0.132476434111595,-0.177665144205093,0.022108344361186,0.031457934528589,-0.008459987118840,0.071649096906185,0.100564964115620,0.062077261507511,-0.018565129488707,-0.044784869998693,0.054264895617962,-0.076276235282421) * MODEL7_texOff(vec2(1,1));
res += mat4(0.055600818246603,-0.024748804047704,-0.079067096114159,0.090754359960556,0.011686763726175,0.031410630792379,-0.102989815175533,0.012409768067300,-0.028923971578479,-0.077392980456352,0.000820898450911,0.057148203253746,-0.007351290434599,-0.180563449859619,-0.025137916207314,-0.090560704469681) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.065483056008816,0.037043042480946,-0.342096596956253,0.036196358501911,0.077271856367588,-0.046524748206139,-0.334136813879013,0.156400173902512,-0.055711530148983,0.110809206962585,0.002739925403148,0.007857410237193,-0.105411842465401,0.109292171895504,-0.239191889762878,-0.013809536583722) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.045367471873760,-0.072918988764286,-0.288275867700577,-0.275274008512497,-0.018911529332399,-0.118002340197563,-0.185542136430740,0.055628698319197,-0.066054612398148,-0.048272866755724,-0.070520415902138,-0.057142626494169,0.001149569987319,-0.127482086420059,0.018272260203958,-0.037846423685551) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.080776184797287,0.064654141664505,0.044251117855310,0.165753051638603,0.072607301175594,-0.078764773905277,0.049172252416611,0.010061446577311,0.014565936289728,0.116334259510040,0.068378202617168,0.022254163399339,-0.081230714917183,0.083786830306053,0.122198455035686,-0.171188876032829) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.110867589712143,0.340527534484863,-0.100379936397076,-0.152284547686577,-0.126131013035774,0.011224607937038,-0.072891987860203,-0.025464661419392,0.005081392824650,-0.185341626405716,0.023130068555474,-0.117324762046337,0.078266128897667,-0.155878469347954,0.458434969186783,-0.028732828795910) * MODEL8_texOff(vec2(0,0));
res += mat4(0.129831984639168,0.232035577297211,0.109948225319386,-0.201331779360771,0.087462477385998,-0.074402548372746,-0.408179461956024,-0.270141452550888,-0.002035785932094,0.016049768775702,0.005939290393144,-0.023114625364542,-0.024315379559994,0.059991832822561,0.043813951313496,0.182590350508690) * MODEL8_texOff(vec2(0,1));
res += mat4(0.006732110399753,-0.059582985937595,0.046488288789988,0.113763488829136,0.065909586846828,-0.303087979555130,0.070780947804451,0.038351934403181,-0.050258826464415,0.018777634948492,-0.017625570297241,-0.003666335018352,-0.012351098470390,-0.090128637850285,0.183080047369003,-0.144932180643082) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.011639846488833,0.030708787962794,0.075446508824825,-0.131073176860809,-0.090196989476681,-0.171926662325859,0.119894646108150,-0.118931502103806,0.103545740246773,0.162943959236145,-0.034550443291664,-0.085725955665112,0.264075666666031,0.077220082283020,0.393493920564651,0.176919668912888) * MODEL8_texOff(vec2(1,0));
res += mat4(0.040688853710890,0.039667990058661,0.014843787997961,-0.001636576373130,-0.153515130281448,-0.238845169544220,-0.262712776660919,0.043260376900434,-0.061000764369965,0.100725919008255,0.037132531404495,0.066882215440273,-0.158766746520996,0.148803398013115,0.131147786974907,0.141482636332512) * MODEL8_texOff(vec2(1,1));
res += mat4(0.023652363568544,-0.200492814183235,0.114873290061951,0.109099417924881,-0.036911416798830,-0.086609899997711,0.072724565863609,0.085369028151035,-0.057936102151871,-0.041781187057495,0.007044606842101,-0.131695151329041,-0.086487323045731,0.027067443355918,-0.069783560931683,0.092898309230804) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.093323551118374,-0.012992702424526,-0.145649686455727,0.172063961625099,-0.081267997622490,0.003657282330096,-0.023825209587812,-0.304965615272522,0.077173583209515,-0.037306122481823,0.005571524146944,0.053730223327875,0.062465164810419,-0.201512828469276,0.118363685905933,-0.159092113375664) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.066040672361851,-0.162892580032349,0.016322970390320,0.001075562206097,-0.133941546082497,-0.120282866060734,0.080214194953442,-0.059675473719835,0.065220400691032,0.035790007561445,-0.087698936462402,-0.123508982360363,-0.065110690891743,-0.021764416247606,-0.226609468460083,0.012362962588668) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.031916454434395,-0.002577743958682,-0.059669356793165,-0.051364827901125,-0.110450968146324,-0.114074416458607,-0.013490179553628,-0.034234870225191,0.063445955514908,-0.067504942417145,0.024658078327775,-0.202639833092690,0.017420070245862,0.027484720572829,0.131250485777855,-0.026044506579638) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.033212218433619,0.007128258235753,-0.092856504023075,-0.100555881857872,0.057378400117159,-0.476019382476807,0.174586549401283,-0.137804061174393,0.067999556660652,-0.040176086127758,0.008992620743811,0.269623845815659,-0.047511123120785,0.091142289340496,0.205114945769310,-0.054801404476166) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.111736290156841,-0.148309335112572,0.032891143113375,-0.161286249756813,-0.206445008516312,-0.148483529686928,-0.156211242079735,0.181367531418800,0.255443274974823,0.126016557216644,0.008910708129406,0.084568828344345,-0.059059936553240,-0.117428645491600,0.151639536023140,0.130786538124084) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.146750554442406,-0.047225289046764,0.044305372983217,0.197415173053741,-0.102703697979450,-0.165838196873665,-0.030821088701487,-0.254715114831924,-0.001219887286425,0.140998229384422,0.050395112484694,0.106222584843636,0.156780451536179,-0.051976375281811,-0.088453166186810,0.009361145086586) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.103795975446701,0.018486483022571,-0.000432111410191,-0.036679700016975,-0.113883092999458,0.052964814007282,-0.011455661617219,0.078247703611851,-0.050121486186981,0.114524900913239,0.059703920036554,-0.118804149329662,0.091961219906807,-0.025426313281059,-0.101402401924133,-0.075164265930653) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.083612911403179,-0.184417277574539,-0.017013452947140,-0.013654141686857,-0.327577739953995,-0.001765100168996,-0.005162687506527,0.218710139393806,0.120523713529110,0.139702931046486,-0.057020120322704,-0.002435519825667,-0.139259427785873,0.154588833451271,0.042649999260902,0.025977119803429) * MODEL9_texOff(vec2(1,1));
res += mat4(0.077538900077343,0.011862576007843,-0.023063842207193,-0.048530168831348,-0.084400273859501,0.163170829415321,-0.064903333783150,-0.155522122979164,0.015706500038505,-0.295694231987000,0.009570772759616,0.133301556110382,-0.138101756572723,-0.014208627864718,-0.007439575158060,-0.089942485094070) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.144340872764587,-0.097190514206886,0.145333722233772,0.058955483138561,-0.092592753469944,-0.011216011829674,0.136702314019203,-0.182960599660873,-0.187317252159119,-0.171185106039047,0.070216126739979,-0.029701307415962,-0.067961238324642,-0.103109434247017,-0.088822424411774,-0.025110252201557) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.054592087864876,-0.058069013059139,0.121655784547329,-0.004599643405527,-0.014854908920825,0.020979961380363,0.080503784120083,0.003710572840646,0.088175334036350,-0.043527770787477,-0.118261568248272,-0.075037039816380,-0.004189997911453,0.063526533544064,0.075177326798439,-0.027814976871014) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.165124565362930,-0.041463326662779,0.028559567406774,-0.036057606339455,-0.098559364676476,0.124822460114956,0.089102961122990,-0.307958900928497,-0.015253823250532,-0.034315086901188,-0.320701479911804,0.037553705275059,-0.267768472433090,-0.170445486903191,0.145676210522652,-0.081369794905186) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.245678156614304,-0.169806241989136,-0.163373634219170,0.061560913920403,0.014067136682570,0.159427091479301,0.009694355539978,0.004523700568825,-0.190800458192825,-0.018898526206613,0.172228217124939,-0.248692080378532,0.126402348279953,0.272503197193146,-0.020752504467964,0.022941002622247) * MODEL10_texOff(vec2(0,0));
res += mat4(0.210708305239677,0.207610338926315,0.121794477105141,-0.121243454515934,-0.219713613390923,0.206303656101227,-0.038514226675034,0.198229551315308,-0.003972759470344,-0.024354331195354,0.143145859241486,-0.128241568803787,-0.078948549926281,0.014520596712828,0.036682780832052,-0.004404668696225) * MODEL10_texOff(vec2(0,1));
res += mat4(0.022114306688309,0.254629105329514,0.076756693422794,0.158360615372658,-0.154020592570305,0.063162945210934,0.044086869806051,-0.030215829610825,-0.031932111829519,-0.208059504628181,-0.072508841753006,-0.204209059476852,-0.082927167415619,0.046751435846090,-0.086394988000393,0.038641624152660) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.081952258944511,-0.278494626283646,0.109989695250988,-0.293708056211472,-0.273994237184525,0.066062711179256,-0.100334055721760,0.064735874533653,-0.034230407327414,-0.107394538819790,0.081498533487320,0.110468067228794,0.092310354113579,0.053906425833702,-0.019750505685806,0.014493708498776) * MODEL10_texOff(vec2(1,0));
res += mat4(0.087303146719933,-0.087636925280094,0.047509528696537,-0.011762476526201,-0.244787544012070,0.150570437312126,0.034165099263191,0.030148992314935,0.054855454713106,0.132010042667389,-0.057899586856365,0.065440438687801,0.033554576337337,0.033147700130939,-0.037020221352577,-0.022688483819366) * MODEL10_texOff(vec2(1,1));
res += mat4(0.148698136210442,-0.061126410961151,-0.094616204500198,-0.059623062610626,0.134601399302483,0.062479179352522,0.080555081367493,-0.024514466524124,0.021667923778296,-0.232791468501091,0.002925987122580,0.126363381743431,-0.062640450894833,-0.070570416748524,0.034818895161152,-0.040328953415155) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.138221830129623,-0.041424851864576,0.173932567238808,0.147867083549500,0.112365052103996,-0.030168304219842,0.008185469545424,0.125410333275795,0.026076233014464,-0.033883187919855,0.006552420556545,-0.162230238318443,0.011707727797329,-0.104024372994900,-0.072438120841980,0.009030628949404) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.078982107341290,0.006626816466451,-0.039010606706142,0.162807986140251,-0.058674227446318,0.002851338591427,0.056624900549650,-0.066579967737198,-0.181668430566788,-0.019689805805683,0.061578590422869,0.329842835664749,0.052772179245949,-0.039166457951069,0.061575766652822,0.065389916300774) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.113968253135681,0.164030328392982,0.066971920430660,0.080097049474716,0.053221799433231,-0.123965322971344,-0.025747852399945,0.002014833502471,0.088492117822170,0.116226531565189,-0.017411276698112,0.104050576686859,0.046048115938902,-0.062907807528973,-0.082484357059002,-0.155873253941536) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.066996939480305,-0.015423452481627,0.031666580587626,0.081495076417923,-0.097484312951565,0.044560026377439,-0.117561966180801,-0.067942723631859,-0.492628902196884,-0.053720373660326,0.091336600482464,0.113628968596458,-0.029620271176100,-0.065512679517269,-0.147262543439865,0.064300179481506) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.336299389600754,0.012570742517710,-0.219468951225281,0.013158286921680,0.330341905355453,-0.015006977133453,-0.118046432733536,-0.185725331306458,-0.032077971845865,0.028976473957300,0.051088005304337,-0.131846353411674,-0.070710197091103,0.089849472045898,0.008309333585203,0.160099297761917) * MODEL11_texOff(vec2(0,1));
res += mat4(0.028861884027719,0.061964832246304,0.022229092195630,0.040975384414196,0.003896218491718,0.073422163724899,-0.070702113211155,0.034158930182457,-0.016757370904088,0.096379995346069,0.057992778718472,-0.192384317517281,0.056033834815025,0.001148416427895,-0.075956210494041,-0.108036182820797) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.243739232420921,-0.235950171947479,0.057321488857269,-0.044336363673210,-0.019591160118580,0.053016912192106,-0.059022311121225,0.048332829028368,0.001486544264480,0.040980737656355,-0.034944918006659,0.006237568333745,0.032252788543701,-0.132982984185219,-0.033958278596401,-0.078194476664066) * MODEL11_texOff(vec2(1,0));
res += mat4(0.062596820294857,-0.024996874853969,-0.018464662134647,-0.051021713763475,-0.118379071354866,0.101479768753052,-0.030428625643253,-0.052265461534262,-0.064932703971863,-0.078891724348068,-0.050723671913147,0.029339749366045,0.105045154690742,-0.111229538917542,0.060997162014246,-0.086954765021801) * MODEL11_texOff(vec2(1,1));
res += mat4(0.028484947979450,-0.096512049436569,-0.143203750252724,-0.052491091191769,0.089187331497669,-0.034073494374752,-0.051964998245239,-0.160255953669548,0.033619496971369,0.037253919988871,-0.141018137335777,-0.058206085115671,0.046038314700127,-0.336725383996964,0.064941987395287,-0.054784242063761) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.101633623242378,0.067983381450176,0.076586931943893,0.045539908111095,0.074782945215702,-0.090299129486084,-0.137480661273003,-0.045965660363436,0.020954724401236,0.100215479731560,0.037326131016016,-0.044352658092976,0.017330154776573,-0.130004763603210,-0.097666218876839,-0.095006123185158) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.012389367446303,-0.166497364640236,-0.013188500888646,-0.054520763456821,-0.020312765613198,-0.102832205593586,-0.095879167318344,0.095371752977371,0.133862778544426,-0.096136100590229,0.069920569658279,-0.108475513756275,0.048894230276346,-0.354518324136734,-0.030641591176391,-0.074057102203369) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.014381648041308,0.054154131561518,0.147549256682396,0.007547189947218,0.025546828284860,0.093048706650734,-0.000686658895575,-0.069468371570110,0.040502697229385,-0.112042069435120,0.174196213483810,-0.065224245190620,0.011501827277243,-0.108998909592628,0.051292881369591,-0.052886907011271) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.026806177571416,-0.077927067875862,0.139033690094948,0.217892512679100,0.011264979839325,0.023489622399211,-0.251600712537766,0.042308792471886,-0.091386631131172,-0.131571829319000,0.068085961043835,-0.158068835735321,0.135172337293625,-0.314341574907303,0.088651835918427,-0.189227387309074) * MODEL12_texOff(vec2(0,0));
res += mat4(0.224629178643227,-0.154133394360542,0.136162683367729,0.013707302510738,0.052474211901426,0.087496444582939,0.011751771904528,0.109051249921322,0.034191295504570,0.079939208924770,-0.038882452994585,0.190450370311737,0.027438342571259,-0.319732397794724,-0.023548834025860,0.142861455678940) * MODEL12_texOff(vec2(0,1));
res += mat4(0.014600737951696,0.038297042250633,0.023007551208138,-0.171810895204544,0.113011881709099,-0.048773918300867,0.133795589208603,-0.205981701612473,-0.050544582307339,0.061592712998390,0.106841042637825,-0.039051569998264,0.055231355130672,-0.274114429950714,0.049656707793474,-0.085538595914841) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.034146655350924,-0.038262460380793,-0.061521723866463,-0.029531754553318,0.130100026726723,0.143362954258919,-0.036938104778528,0.208478599786758,0.070649571716785,0.183938741683960,0.084554322063923,-0.274423658847809,0.048780366778374,0.037149153649807,0.061917170882225,0.199669167399406) * MODEL12_texOff(vec2(1,0));
res += mat4(0.012912248261273,-0.155080050230026,-0.041239593178034,-0.128271222114563,0.038650587201118,-0.023796070367098,-0.044075384736061,0.079550378024578,-0.073200680315495,-0.076196737587452,0.015720654278994,0.185406818985939,0.039481688290834,0.033626489341259,0.056524682790041,-0.066026590764523) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.333014339208603,0.000143119745189,0.046689465641975,-0.258391767740250) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 3_2

vec4 hook()
{
vec4 res = vec4(0.038261484354734,-0.007135258056223,0.060542557388544,0.067887529730797);
res += mat4(-0.177261441946030,0.028601741418242,-0.063560783863068,0.003154871985316,-0.216557577252388,0.041297513991594,0.017476357519627,0.041423965245485,-0.045199599117041,0.086045697331429,0.008059423416853,0.086667872965336,-0.127188041806221,0.046578027307987,-0.056030396372080,0.061796043068171) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.068937785923481,-0.001007672166452,-0.040125653147697,0.002091743750498,-0.122580155730247,0.013260805979371,-0.083371140062809,0.162598118185997,0.034801948815584,-0.061846259981394,-0.030036974698305,-0.033113148063421,-0.514910817146301,0.019055075943470,-0.131175011396408,0.139535635709763) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.172470137476921,-0.082293584942818,-0.062389325350523,0.050909776240587,-0.324553579092026,0.050116229802370,-0.056913193315268,-0.019441349431872,0.085855245590210,-0.023493209853768,-0.018674153834581,-0.024150839075446,-0.117805734276772,-0.023011013865471,-0.160608783364296,0.036727938801050) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.198334485292435,0.157391279935837,-0.141629934310913,-0.002477029804140,-0.045626860111952,-0.002309259958565,0.100531220436096,-0.019333580508828,0.176184847950935,-0.003546496387571,-0.004181601572782,0.121798425912857,0.032975059002638,-0.085287705063820,0.007488324306905,0.159638509154320) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.056148387491703,-0.212009653449059,-0.076519057154655,-0.005572398193181,0.099487893283367,-0.117591790854931,0.000109688116936,0.065396010875702,0.018287997692823,-0.078804165124893,-0.029555095359683,0.088573843240738,-0.177097499370575,0.110417641699314,0.015362584032118,-0.025235544890165) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.175171956419945,-0.001917724031955,-0.087421327829361,-0.067559503018856,-0.100942142307758,0.048927489668131,-0.006175131071359,0.078383959829807,-0.012157950550318,0.032397910952568,-0.033053029328585,0.033689282834530,-0.006791070569307,0.049969635903835,-0.105949871242046,0.111926421523094) * MODEL7_texOff(vec2(0,1));
res += mat4(0.212557911872864,0.025821398943663,0.067747645080090,0.156373247504234,0.025629676878452,-0.056021563708782,0.183221310377121,-0.074807345867157,0.050951287150383,0.091962851583958,0.048977650702000,0.004431803245097,0.045629918575287,-0.136552274227142,0.000085709980340,-0.029493331909180) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.170170217752457,-0.005608996376395,0.169486463069916,-0.404630005359650,-0.033291939646006,-0.155605182051659,0.130704760551453,0.024869328364730,0.077244251966476,-0.051810752600431,-0.043464872986078,-0.043179050087929,0.157731384038925,-0.002825529081747,-0.031485192477703,0.069101274013519) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.028399357572198,-0.080774001777172,0.103959575295448,0.064546234905720,-0.053454685956240,0.034775394946337,-0.014545695856214,-0.055400654673576,0.024785885587335,0.062815748155117,0.013240572065115,0.092262297868729,0.038964934647083,0.005301709286869,0.011387867853045,0.093238331377506) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.051587484776974,0.104390360414982,0.014494957402349,0.012752724811435,-0.129666760563850,0.055498611181974,0.005682121496648,-0.044433582574129,-0.239664524793625,0.011462265625596,0.009404540993273,-0.045057322829962,0.163346201181412,-0.070556260645390,-0.048129312694073,0.047252371907234) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.007071079686284,0.025962974876165,0.021855544298887,0.110364697873592,-0.251116693019867,-0.038853008300066,0.020788289606571,-0.016549447551370,-0.388580650091171,0.017311302945018,-0.013189181685448,0.082920953631401,0.113443061709404,-0.002335573779419,-0.050956871360540,0.106860913336277) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.196384087204933,-0.140132933855057,0.101326681673527,-0.036207597702742,-0.009408559650183,-0.008358752354980,0.059376727789640,-0.035462014377117,-0.204046204686165,-0.037718784064054,-0.007170252501965,0.063399501144886,-0.005747710354626,0.119191870093346,0.007646785117686,0.037637516856194) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.035751618444920,0.166679367423058,-0.070554442703724,-0.014132526703179,-0.129582911729813,0.140428364276886,-0.015525317750871,0.155699893832207,-0.345826804637909,-0.012676758691669,0.021231552585959,-0.065472863614559,-0.231881484389305,-0.131469592452049,0.007328422740102,0.073599062860012) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.163485959172249,-0.223353251814842,-0.162723392248154,-0.408463776111603,-0.098671637475491,-0.205459967255592,0.043326888233423,0.076621107757092,-0.251836121082306,0.051644016057253,-0.043799728155136,-0.121638990938663,0.068746037781239,0.020575135946274,0.044247750192881,0.046366412192583) * MODEL8_texOff(vec2(0,0));
res += mat4(0.064125455915928,0.016015971079469,0.041801769286394,-0.084019921720028,-0.164057731628418,-0.025706291198730,0.048034343868494,-0.108236245810986,-0.073834612965584,-0.062441814690828,-0.057106621563435,-0.081860803067684,-0.097302719950676,0.012427184730768,-0.004778654314578,0.096861779689789) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.037947468459606,0.048035740852356,0.096815042197704,0.254063904285431,-0.099737010896206,0.034710407257080,0.087491318583488,-0.013734854757786,0.201350137591362,0.010098744183779,-0.000558495288715,-0.016177942976356,0.027335409075022,-0.086406804621220,-0.041651520878077,0.059302568435669) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.068101219832897,-0.009980100207031,-0.026672909036279,-0.079286493360996,0.051257628947496,-0.116444729268551,0.175183966755867,0.096574798226357,0.062926277518272,0.147027805447578,0.153502672910690,0.058777071535587,0.106641538441181,0.137455299496651,-0.012032600119710,-0.219515874981880) * MODEL8_texOff(vec2(1,0));
res += mat4(0.021579170599580,-0.037883095443249,0.171953842043877,-0.220209911465645,-0.119460113346577,-0.043351653963327,0.030694663524628,0.163843050599098,-0.003911463078111,-0.007787433918566,-0.068154342472553,0.206694483757019,-0.133981987833977,0.002188217360526,0.110417768359184,0.037732914090157) * MODEL8_texOff(vec2(1,1));
res += mat4(0.108589775860310,-0.097646124660969,0.076645426452160,-0.011852891184390,-0.117295466363430,0.005653630942106,0.045153375715017,0.134210914373398,0.173015728592873,0.183538213372231,-0.052187468856573,0.103581249713898,0.074255242943764,-0.067525811493397,-0.055964097380638,-0.045209735631943) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.132817313075066,-0.047848619520664,0.038169905543327,-0.158533304929733,-0.260715901851654,-0.009893677197397,0.000292803160846,0.002185510005802,0.028204677626491,-0.149595677852631,-0.114259868860245,0.160939112305641,0.014658478088677,-0.033007577061653,0.103036999702454,-0.128758847713470) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.092810921370983,-0.049211662262678,0.061470665037632,-0.152181491255760,-0.156123265624046,0.027297506108880,-0.056554008275270,-0.018636418506503,-0.131453305482864,0.021169228479266,-0.070440210402012,0.003945323638618,0.025356464087963,0.072036951780319,-0.006714103277773,0.085808724164963) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.058961879462004,-0.134716793894768,0.030337881296873,0.067046679556370,0.246039092540741,-0.259219884872437,0.193450406193733,0.132579669356346,0.211921229958534,0.118938364088535,-0.137032151222229,0.052689332515001,-0.065066091716290,0.003746344707906,0.115147598087788,-0.008214142173529) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.053270716220140,-0.007497883401811,0.035956282168627,-0.115340694785118,0.195356607437134,0.229677960276604,0.092993296682835,0.022815987467766,0.042653147131205,-0.036754041910172,0.039947744458914,0.026684761047363,0.006677612662315,-0.098724029958248,0.270084500312805,0.031447406858206) * MODEL9_texOff(vec2(0,0));
res += mat4(0.120920911431313,-0.118061974644661,0.000668200955261,-0.102358706295490,0.000788176956121,0.066770017147064,0.050977326929569,0.013619245961308,-0.165738582611084,0.020182216539979,-0.113679327070713,0.151588514447212,0.100091621279716,0.215150743722916,0.056267756968737,0.087264135479927) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.070467576384544,-0.060356609523296,-0.041376426815987,-0.190734133124352,0.171651154756546,-0.207793056964874,0.041152898222208,0.009488991461694,0.147439628839493,0.047332458198071,0.008438231423497,0.235462412238121,0.065151177346706,-0.084249131381512,0.073542870581150,0.149004593491554) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.041555766016245,-0.013563863001764,-0.010514902882278,-0.059697639197111,0.290106445550919,0.097093656659126,-0.062118519097567,-0.087065123021603,0.153324365615845,-0.010936073958874,-0.029282204806805,0.067919299006462,-0.028490470722318,0.009636106900871,-0.014212695881724,0.108038872480392) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.297882676124573,0.015417123213410,0.004656729754061,-0.003737375605851,0.024685727432370,0.005833721719682,0.000413786678109,-0.210570886731148,-0.012820563279092,0.024910476058722,-0.003692989470437,-0.280658304691315,0.043686266988516,0.087428465485573,-0.059641089290380,-0.100026257336140) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.080910429358482,0.073916658759117,0.042115811258554,-0.112519532442093,-0.032462846487761,-0.123788870871067,-0.039323609322309,-0.250386327505112,-0.098773099482059,-0.212402880191803,0.091863393783569,-0.080090008676052,0.072852477431297,-0.129386186599731,-0.011140608228743,0.037165421992540) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.030567625537515,-0.089950136840343,-0.017335731536150,-0.021850286051631,-0.063177160918713,0.007929972372949,-0.012768762186170,-0.271483153104782,-0.302453339099884,-0.077473998069763,-0.033535588532686,-0.246394827961922,-0.037242602556944,0.002403916325420,-0.022739980369806,-0.061388377100229) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.066661059856415,0.049730371683836,-0.038445323705673,0.070065975189209,-0.052675064653158,0.000606883899309,-0.006459977943450,-0.275360554456711,0.022373817861080,0.007938481867313,0.041171200573444,0.125240117311478,-0.081738278269768,-0.011982857249677,-0.031487509608269,0.029902191832662) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.096337147057056,0.186629235744476,0.182715162634850,0.005466662812978,0.156531319022179,-0.009930569678545,-0.064153455197811,-0.364792883396149,-0.059158001095057,-0.429807096719742,0.099157519638538,0.040511839091778,-0.198805689811707,-0.210321187973022,0.032663092017174,0.000810921890661) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.122737556695938,-0.340383440256119,-0.392903953790665,0.067871853709221,0.174393847584724,0.010553116910160,-0.072032801806927,-0.109753519296646,-0.229590475559235,-0.179343760013580,-0.178534731268883,-0.118567340075970,0.081870794296265,0.081861764192581,-0.035600915551186,0.119552269577980) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.086128085851669,0.132020592689514,-0.072047509253025,-0.066245071589947,0.035828661173582,-0.011527563445270,-0.044928852468729,-0.184258952736855,-0.036750908941031,0.137977078557014,-0.049222923815250,-0.127608746290207,-0.042118560522795,0.049811229109764,-0.030487848445773,0.087667673826218) * MODEL10_texOff(vec2(0,1));
res += mat4(0.068921945989132,-0.061507411301136,-0.142080664634705,0.075132951140404,0.010763939470053,0.014499718323350,-0.151100605726242,-0.339711278676987,0.112480685114861,-0.100878961384296,0.077044412493706,0.136683300137520,-0.068068981170654,-0.057085324078798,0.044298563152552,-0.008448502048850) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.071783818304539,0.033075429499149,0.352968782186508,-0.329130113124847,0.110455319285393,-0.005488461814821,-0.084913730621338,-0.358507543802261,-0.163812369108200,-0.066830046474934,0.009956335648894,0.021433632820845,-0.019495587795973,0.064798191189766,0.002164431149140,0.050164766609669) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.040555406361818,0.032650165259838,-0.000284690322587,0.191148102283478,0.032884377986193,0.070607252418995,-0.037002451717854,-0.385437309741974,-0.265741407871246,-0.055063396692276,-0.081118009984493,0.245045244693756,0.039970956742764,-0.001495105796494,0.002058466197923,-0.092539347708225) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.151560068130493,0.036445684731007,-0.014564540237188,-0.282890737056732,-0.007645627483726,0.022933838889003,-0.047191351652145,0.038752462714911,0.078939802944660,0.061538822948933,-0.074682429432869,-0.147278860211372,0.092276498675346,0.059274829924107,-0.018637992441654,0.282564461231232) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.009789833799005,0.229921147227287,0.070820778608322,-0.218427121639252,-0.070495933294296,-0.059431731700897,0.050722155719995,0.020469145849347,-0.017278533428907,-0.088997319340706,-0.098680093884468,0.101803295314312,-0.044287558645010,-0.032099835574627,0.091443061828613,-0.104265466332436) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.114833876490593,-0.222870737314224,0.041059218347073,-0.022289566695690,0.091997936367989,0.054785270243883,0.003661580383778,-0.053619414567947,-0.142761394381523,-0.094150021672249,-0.094892680644989,-0.021464401856065,-0.101065464317799,0.015430638566613,-0.054305981844664,0.047529395669699) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.073288515210152,0.122164405882359,-0.046351604163647,-0.105378456413746,0.444123029708862,0.119222544133663,-0.083570897579193,-0.033552959561348,0.022638371214271,-0.091982640326023,-0.195478290319443,-0.026749541983008,-0.055962242186069,-0.008443401195109,-0.119025029242039,0.105419509112835) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.206127837300301,0.119510017335415,0.038242168724537,-0.111519418656826,0.086980864405632,-0.152814254164696,-0.259945094585419,0.028630828484893,0.007987204007804,-0.074118383228779,-0.072890646755695,-0.042520988732576,-0.052077442407608,0.004021785687655,-0.076472334563732,0.212336167693138) * MODEL11_texOff(vec2(0,0));
res += mat4(0.023540301248431,-0.265704154968262,-0.018796410411596,-0.160102203488350,0.168040573596954,-0.063164867460728,-0.075277842581272,-0.056183382868767,0.084704257547855,0.071703247725964,-0.034933600574732,-0.361631035804749,0.006298115476966,0.003101253882051,-0.144252017140388,-0.087946720421314) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.066076695919037,-0.000502738752402,-0.068569742143154,-0.013627678155899,-0.171685412526131,0.092078618705273,0.084072455763817,-0.035322334617376,-0.009757877327502,0.034607153385878,0.027591949328780,-0.124034218490124,0.140199244022369,0.069083176553249,0.025111401453614,0.082916244864464) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.003534265793860,0.122493088245392,0.033265836536884,-0.100070871412754,-0.109765335917473,0.037545837461948,0.024522040039301,-0.045471977442503,-0.034783702343702,-0.013095473870635,0.096514925360680,0.073866479098797,0.053720105439425,-0.032933007925749,0.104995138943195,-0.113508574664593) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.074326112866402,-0.030240258201957,-0.080551691353321,-0.210809543728828,0.032578237354755,-0.007393531501293,0.018093990162015,0.017255757004023,0.073455572128296,-0.004521321970969,0.000300534535199,-0.056564249098301,-0.001453699544072,-0.003570054657757,0.026554536074400,0.032982543110847) * MODEL11_texOff(vec2(1,1));
res += mat4(0.056479014456272,-0.087981879711151,0.017722280696034,0.071596994996071,-0.280750244855881,-0.009539035148919,-0.024856038391590,0.061931308358908,-0.033400367945433,0.009464649483562,-0.089391395449638,0.060154825448990,-0.078280724585056,0.085328280925751,0.009727440774441,0.203602448105812) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.032078884541988,0.023488866165280,0.034916810691357,0.032597366720438,-0.148988649249077,0.045933969318867,0.044135600328445,-0.112156994640827,-0.074639163911343,-0.013639146462083,-0.084356680512428,0.035919707268476,-0.185987174510956,-0.088045120239258,-0.087237380445004,0.137936189770699) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.104301556944847,0.034735117107630,0.011698579415679,-0.161061361432076,0.027774162590504,0.048711501061916,-0.004314885009080,-0.019024156033993,0.138906702399254,0.104755818843842,-0.001007884275168,-0.036310531198978,-0.194978088140488,0.034073919057846,-0.033950336277485,0.180698856711388) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.098641552031040,-0.105075523257256,0.076764859259129,-0.049098279327154,-0.181576415896416,-0.092406779527664,-0.005069336853921,0.052784517407417,0.117948040366173,0.155602782964706,-0.014588990248740,-0.045109596103430,0.094481796026230,0.007326306775212,-0.096970617771149,0.107250265777111) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.030193209648132,-0.104913242161274,-0.092671625316143,0.027749599888921,-0.278175532817841,0.053923949599266,0.068999975919724,-0.049777038395405,0.122295625507832,-0.040237654000521,-0.056577671319246,0.088779933750629,-0.034583218395710,0.076995030045509,-0.070025518536568,-0.081063561141491) * MODEL12_texOff(vec2(0,0));
res += mat4(0.036557737737894,0.358224332332611,0.056886736303568,-0.131133735179901,-0.094874590635300,-0.009493479505181,0.010716318152845,-0.014276100322604,0.077643312513828,-0.038473397493362,-0.039291515946388,0.011710214428604,0.012082469649613,-0.075678549706936,0.002848406089470,0.132192686200142) * MODEL12_texOff(vec2(0,1));
res += mat4(0.054933227598667,-0.087140552699566,0.150406554341316,0.023167140781879,0.221831366419792,0.192143514752388,0.005567214451730,0.081932857632637,0.067778721451759,-0.117074407637119,-0.041034165769815,-0.047167111188173,0.098549664020538,0.026946773752570,-0.030862160027027,0.190476685762405) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.019734220579267,0.097241811454296,0.092409163713455,-0.082511901855469,-0.027100993320346,-0.035111762583256,-0.140511304140091,0.070921927690506,-0.095894083380699,0.067544363439083,-0.103760868310928,-0.128260567784309,0.041474804282188,0.007746158167720,-0.007218908518553,0.110782310366631) * MODEL12_texOff(vec2(1,0));
res += mat4(0.086064182221889,-0.018737653270364,-0.023592442274094,0.091248720884323,-0.128809437155724,-0.050785169005394,-0.007239231374115,-0.074760422110558,-0.090602360665798,-0.123038083314896,-0.074918895959854,-0.143306493759155,0.071676909923553,0.015665246173739,-0.012133065611124,0.110345281660557) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.153132781386375,-0.332409381866455,0.838859558105469,0.009112065657973) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 3_3

vec4 hook()
{
vec4 res = vec4(-0.018374674022198,0.064257808029652,-0.011926083825529,0.249347850680351);
res += mat4(-0.117814324796200,0.007288548629731,0.079562850296497,0.010480484925210,-0.152855575084686,0.303426027297974,-0.022848490625620,-0.040046747773886,-0.005447967443615,0.098825603723526,-0.005618339404464,-0.029656870290637,0.160624966025352,-0.130409777164459,-0.006341140717268,-0.143034890294075) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.082594461739063,0.282338976860046,0.101443164050579,-0.075000964105129,0.131861656904221,0.091047078371048,-0.169086977839470,0.017354425042868,-0.105317562818527,0.264744669198990,0.030433949083090,-0.038897674530745,-0.131488338112831,-0.118725053966045,0.061791747808456,-0.055449560284615) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.126395553350449,-0.022435996681452,0.075488008558750,-0.046912264078856,-0.003345082746819,0.050677005201578,-0.145918279886246,0.046063859015703,-0.001324188080616,0.021199248731136,-0.010822237469256,-0.032788820564747,-0.103560037910938,-0.096402294933796,0.143840372562408,-0.049118392169476) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.252625793218613,-0.126336380839348,-0.028436634689569,-0.146857067942619,-0.208950027823448,-0.145848393440247,0.005433515179902,0.007623301818967,-0.045655533671379,0.019848134368658,-0.071996435523033,-0.034190610051155,0.077180154621601,-0.261810153722763,-0.208489120006561,-0.100361675024033) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.328142672777176,-0.058830790221691,-0.143033683300018,0.161689445376396,0.157713726162910,0.020451739430428,0.011253465898335,-0.135358348488808,0.034518256783485,-0.227855131030083,-0.053116735070944,-0.148051545023918,-0.178975090384483,0.065240040421486,-0.026434574276209,0.063627250492573) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.008460646495223,0.001275914371945,-0.046989079564810,-0.162309691309929,-0.021914577111602,-0.282404661178589,0.192293986678123,0.091744452714920,0.067669220268726,-0.034138012677431,-0.018553851172328,0.017366388812661,-0.110560409724712,-0.139156952500343,0.149298951029778,-0.019018808379769) * MODEL7_texOff(vec2(0,1));
res += mat4(0.068468362092972,0.018372094258666,-0.106820434331894,-0.034451901912689,-0.034783978015184,-0.241554483771324,-0.083517119288445,0.007027624174953,-0.025198519229889,-0.010737873613834,-0.057421542704105,0.040753610432148,-0.121194221079350,-0.020028490573168,0.060554843395948,-0.051771920174360) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.092528961598873,0.062973834574223,-0.017659565433860,-0.144912049174309,0.201504126191139,-0.364697277545929,-0.033627096563578,-0.144771814346313,-0.006108944769949,0.188984960317612,0.047485545277596,0.015449469909072,-0.074278250336647,0.091766633093357,0.091663196682930,-0.082283899188042) * MODEL7_texOff(vec2(1,0));
res += mat4(0.033615298569202,0.015764608979225,0.029213747009635,-0.055063087493181,-0.110377028584480,-0.071973852813244,-0.101896494626999,-0.048592578619719,0.107717737555504,-0.119209289550781,-0.153494417667389,0.068401820957661,-0.066920928657055,0.011754989624023,0.127216771245003,0.016540497541428) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.012961992062628,0.047630317509174,-0.161130771040916,-0.033957708626986,0.002194495173171,0.072509638965130,-0.005286793690175,0.011481261812150,-0.076473914086819,-0.131716370582581,0.010594773106277,-0.066340103745461,0.049474380910397,0.431701749563217,0.007672894280404,-0.039279893040657) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.134921655058861,0.177050963044167,-0.321246087551117,0.158921241760254,0.023519050329924,0.157135292887688,0.078794345259666,0.006145943421870,-0.023512031883001,-0.267766267061234,0.022181529551744,0.043396107852459,0.216919466853142,0.350179731845856,-0.021383741870522,0.008156675845385) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.063924357295036,-0.042328063398600,-0.250851005315781,0.070196911692619,0.111217930912971,-0.084650263190269,-0.028923021629453,-0.002247676253319,-0.049361664801836,-0.108770959079266,-0.059014890342951,-0.069892413914204,-0.037200815975666,-0.169305130839348,0.025344954803586,0.030723540112376) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.306414455175400,0.017665555700660,0.080977141857147,-0.107149146497250,0.055039398372173,-0.064735442399979,0.127623736858368,-0.048942130059004,-0.084815613925457,-0.171062335371971,-0.010029166005552,0.031408187001944,-0.055259298533201,0.050414171069860,0.080429628491402,-0.014013719744980) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.014173395000398,0.024671381339431,0.176803857088089,-0.288994610309601,-0.180379077792168,0.098775520920753,-0.013005046173930,0.078684300184250,-0.133535340428352,-0.039874047040939,-0.010579071007669,-0.147137850522995,-0.061990849673748,0.106017611920834,0.094596832990646,-0.142249941825867) * MODEL8_texOff(vec2(0,0));
res += mat4(0.212627306580544,-0.135496109724045,0.107356265187263,-0.410466462373734,-0.086389869451523,-0.289146870374680,-0.226448461413383,0.141786798834801,0.030223254114389,-0.014061266556382,0.071962259709835,0.044818423688412,0.078685328364372,-0.101066216826439,-0.061675772070885,-0.005844168830663) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.174376040697098,-0.028462063521147,0.217370375990868,0.047865249216557,0.243761047720909,0.108207747340202,0.042670618742704,-0.018891748040915,0.139135748147964,0.009555371478200,-0.036820594221354,-0.013488603755832,-0.268674045801163,-0.179352402687073,-0.058133672922850,0.098968498408794) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.206437826156616,-0.106396533548832,-0.110754877328873,-0.188001826405525,0.034566767513752,-0.104307569563389,-0.111525073647499,0.042792633175850,-0.319958686828613,0.043310470879078,-0.104854717850685,0.230879902839661,-0.086381748318672,-0.243495881557465,-0.066544421017170,-0.023263299837708) * MODEL8_texOff(vec2(1,0));
res += mat4(0.064983569085598,-0.018436692655087,0.133653894066811,-0.109326906502247,-0.108998745679855,0.005932977423072,-0.213224902749062,0.054693929851055,-0.076626196503639,0.012696596793830,-0.046819109469652,0.053563609719276,0.133439093828201,-0.176779255270958,0.099259003996849,0.009484732523561) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.019311593845487,-0.089459367096424,0.063817612826824,-0.035708118230104,-0.022197140380740,0.147065058350563,0.004498272668570,-0.027586327865720,0.267121940851212,0.318385809659958,-0.025881238281727,-0.075783342123032,-0.088112689554691,0.117099128663540,0.093215413391590,0.017160750925541) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.083048895001411,0.116386383771896,0.075720071792603,-0.019358335062861,-0.028109872713685,0.387875467538834,0.118055969476700,-0.078723244369030,0.066752009093761,0.273932516574860,-0.092920497059822,0.023281281813979,-0.014109761454165,0.209313422441483,0.089212365448475,-0.100766576826572) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.054604645818472,-0.114760719239712,-0.067240498960018,0.000277485494735,-0.235897839069366,-0.002213313011453,0.126770824193954,-0.004240103531629,-0.051660511642694,-0.139984220266342,0.122314803302288,-0.051285341382027,0.073270268738270,0.068373128771782,0.000081257829152,-0.024180501699448) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.047084685415030,0.162822872400284,0.004834451712668,0.050140921026468,-0.194824352860451,-0.017260227352381,0.112765215337276,0.109630122780800,0.017954438924789,-0.163131833076477,0.125486955046654,-0.264210671186447,-0.028433917090297,0.013862599618733,0.070917718112469,-0.039202392101288) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.046014353632927,0.091834880411625,0.143228709697723,0.010152461938560,0.259455800056458,0.012833440676332,0.178916051983833,-0.236522763967514,0.058119617402554,-0.045158058404922,0.057874795049429,-0.268763184547424,-0.181520596146584,0.044277809560299,0.037718407809734,-0.034907352179289) * MODEL9_texOff(vec2(0,0));
res += mat4(0.138862788677216,0.197286203503609,-0.033449556678534,-0.075001716613770,0.287392228841782,-0.135805055499077,-0.018461657688022,0.078386820852757,-0.019491821527481,-0.065484486520290,0.007951907813549,-0.195928275585175,0.057419843971729,-0.230334833264351,-0.032274354249239,0.110510304570198) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.074079334735870,0.030396914109588,-0.111036136746407,0.027595024555922,-0.190232753753662,-0.031070355325937,-0.190569221973419,-0.047441624104977,-0.333246946334839,-0.173736408352852,0.096367187798023,0.057852733880281,0.048464071005583,0.049913592636585,-0.097881898283958,0.015558484941721) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.166905313730240,0.132594466209412,-0.219280421733856,-0.039325535297394,-0.042621660977602,-0.123711459338665,-0.359039962291718,-0.023560658097267,-0.025163767859340,-0.253274232149124,0.026853838935494,-0.077196955680847,-0.068508699536324,-0.115960732102394,-0.087668463587761,-0.000577086699195) * MODEL9_texOff(vec2(1,0));
res += mat4(0.047676853835583,0.027067610993981,-0.204451486468315,-0.010680745355785,0.244258373975754,-0.052906446158886,-0.285185694694519,-0.070890218019485,0.108572505414486,-0.033761214464903,-0.194728538393974,-0.030027212575078,-0.030274616554379,0.039345938712358,-0.074165731668472,-0.007123847492039) * MODEL9_texOff(vec2(1,1));
res += mat4(0.034171383827925,0.158966079354286,0.093311659991741,-0.035654600709677,-0.134082868695259,0.305460721254349,0.022094327956438,-0.005402553826571,-0.258682459592819,0.196936920285225,0.145608291029930,0.042530875653028,-0.041840933263302,0.294602900743484,0.026505423709750,-0.003983999136835) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.160277962684631,-0.078831925988197,0.144822657108307,-0.068313077092171,-0.059562280774117,0.029131827875972,0.095699593424797,-0.178906485438347,0.163041934370995,0.014391424134374,0.081362619996071,-0.086293421685696,0.103386074304581,-0.170631691813469,0.112698405981064,-0.070619761943817) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.009808888658881,0.053652796894312,0.176520124077797,-0.051990050822496,-0.154873698949814,-0.027979470789433,0.162257075309753,-0.037073832005262,0.079465195536613,-0.011681262403727,0.004003052599728,0.086473256349564,0.010120028629899,0.223097845911980,0.024092467501760,-0.008209998719394) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.125540703535080,0.243706122040749,0.033835060894489,-0.133832633495331,0.077327162027359,-0.145317569375038,0.051756300032139,-0.069562256336212,-0.259527891874313,0.022254355251789,-0.196759134531021,0.050389558076859,0.037236284464598,-0.114737488329411,0.014652701094747,-0.096271470189095) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.084011793136597,0.223443731665611,-0.298238605260849,0.168353036046028,0.001843921723776,-0.082748048007488,0.133477315306664,0.045641534030437,-0.139392331242561,-0.119052410125732,0.019860211759806,0.008877278305590,-0.091627880930901,0.223915398120880,-0.001574892317876,0.125279918313026) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.133806154131889,-0.047821298241615,-0.070502206683159,0.028981214389205,0.027689697220922,0.072197988629341,0.188803344964981,0.125174969434738,0.035278566181660,-0.039892446249723,-0.063058920204639,0.046740412712097,-0.159506082534790,-0.169639632105827,-0.076983004808426,0.055309992283583) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.093003384768963,0.013176353648305,-0.018644222989678,0.180759593844414,0.009597881697118,-0.041639238595963,-0.055595163255930,-0.125279709696770,0.072362892329693,-0.203998312354088,0.171268165111542,-0.005936827044934,0.013796167448163,-0.038396243005991,0.037608902901411,-0.046735085546970) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.211903184652328,-0.368703961372375,-0.067448668181896,-0.360836327075958,-0.206995502114296,-0.112594194710255,0.001361141912639,0.078721076250076,-0.212503030896187,-0.391037851572037,-0.177850857377052,0.084624670445919,-0.052592974156141,-0.183562144637108,0.003018187126145,0.068321675062180) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.033931314945221,-0.039259064942598,0.021113710477948,-0.007149613462389,-0.002871546661481,-0.045654959976673,-0.002988973865286,0.031849753111601,-0.233058869838715,-0.044795673340559,-0.019298883154988,0.001411014702171,-0.019767919555306,0.314890593290329,-0.014838037081063,0.013111500069499) * MODEL10_texOff(vec2(1,1));
res += mat4(0.120803423225880,0.080066993832588,0.096715144813061,-0.085399523377419,0.046793006360531,-0.011648842133582,-0.016491141170263,0.002475889166817,0.249835312366486,0.292534500360489,-0.061785567551851,-0.075627982616425,0.036817435175180,-0.073766648769379,0.055881500244141,0.082373805344105) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.153603613376617,-0.304819703102112,-0.012352834455669,-0.059719089418650,-0.035927243530750,-0.035625167191029,-0.013132630847394,0.018001833930612,0.016041973605752,0.066856257617474,-0.227984368801117,0.138394862413406,-0.020487783476710,-0.067891247570515,-0.013135544955730,-0.155071407556534) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.069741576910019,-0.066234283149242,0.025497311726213,0.041741002351046,-0.026174280792475,-0.079198889434338,-0.029991913586855,0.014017790555954,0.075825914740562,0.026432285085320,-0.112674266099930,-0.001848187413998,0.056836508214474,-0.086009971797466,0.002278186380863,-0.018732450902462) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.193600296974182,-0.020058784633875,-0.026672922074795,0.010787585750222,0.098588533699512,-0.081704698503017,-0.073168173432350,-0.154208377003670,0.179386198520660,0.115863375365734,-0.220187515020370,-0.051066271960735,-0.102769099175930,-0.018552782014012,-0.052332315593958,-0.046434566378593) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.051250699907541,-0.004615112207830,-0.063997149467468,0.201594978570938,0.046096108853817,0.025388984009624,-0.119210220873356,0.012038163840771,-0.106389202177525,-0.155397370457649,-0.205559894442558,0.056184958666563,-0.005182490684092,-0.051873434334993,-0.032790932804346,-0.107658840715885) * MODEL11_texOff(vec2(0,0));
res += mat4(0.183777973055840,-0.077149316668510,0.008772849105299,0.059939060360193,-0.075446344912052,-0.015645151957870,-0.021851629018784,-0.104051239788532,0.054675094783306,-0.031457457691431,-0.152892798185349,-0.052205689251423,-0.104588344693184,-0.038752354681492,-0.023200288414955,-0.014803882688284) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.178839430212975,-0.074379533529282,0.012702278792858,-0.038118410855532,0.075439184904099,0.034586094319820,0.005079892463982,-0.056493043899536,-0.127343267202377,0.038028225302696,-0.133979082107544,0.016623776406050,0.028480689972639,0.042231239378452,-0.021800698712468,0.063833795487881) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.190794751048088,-0.101521119475365,-0.079282462596893,0.138473540544510,0.059606395661831,-0.036776281893253,-0.018419411033392,-0.005647181998938,0.124379321932793,-0.075016796588898,-0.035787247121334,-0.033966951072216,0.108240127563477,-0.160201370716095,-0.154419958591461,0.048774801194668) * MODEL11_texOff(vec2(1,0));
res += mat4(0.016995603218675,0.099910371005535,-0.177169218659401,-0.054138418287039,0.026879329234362,0.032223865389824,0.041349727660418,-0.074979685246944,-0.194303706288338,0.056941129267216,-0.025657068938017,-0.022283757105470,-0.067287318408489,0.093739897012711,0.020411727949977,0.019466172903776) * MODEL11_texOff(vec2(1,1));
res += mat4(0.092045091092587,0.180736988782883,0.033101882785559,0.043164223432541,-0.160043179988861,0.120570018887520,-0.036430709064007,0.000637106830254,0.220574274659157,0.172973692417145,0.017192345112562,-0.012913515791297,0.236873805522919,0.175561472773552,-0.092186532914639,-0.013241370208561) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.113924995064735,-0.048841368407011,-0.075493387877941,0.168705344200134,-0.034045632928610,0.050176497548819,-0.060918450355530,-0.071621686220169,-0.020469835028052,-0.024797456339002,0.060160860419273,-0.028040215373039,-0.059304654598236,0.308999150991440,-0.153607517480850,-0.018900996074080) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.002893618773669,0.063531510531902,-0.000146984617459,-0.065832637250423,0.083130069077015,0.015924120321870,-0.064959719777107,-0.021622706204653,-0.081984303891659,-0.102645024657249,0.092684164643288,0.057404160499573,-0.043494369834661,0.024523170664907,-0.207262024283409,0.037965327501297) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.092705219984055,-0.112934872508049,0.046653207391500,0.100992292165756,-0.330191552639008,0.102894358336926,-0.095041505992413,-0.074437081813812,0.138519853353500,-0.158913388848305,0.037802930921316,-0.001539266086183,0.059450916945934,-0.128686040639877,-0.107833698391914,-0.079607993364334) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.056287869811058,-0.090002842247486,0.063572436571121,-0.080034017562866,0.090075045824051,-0.103623762726784,-0.014556201174855,-0.076207190752029,0.188543975353241,-0.014457252807915,0.049877539277077,-0.020096240565181,-0.076679497957230,0.066548228263855,-0.029815049842000,-0.113708868622780) * MODEL12_texOff(vec2(0,0));
res += mat4(0.060584932565689,-0.011699383147061,0.155146181583405,-0.022151831537485,0.085813932120800,-0.189582005143166,0.120373584330082,0.063806697726250,-0.041680883616209,0.048366647213697,-0.124796420335770,0.150215014815331,0.116735398769379,0.105783358216286,-0.221808046102524,-0.033946689218283) * MODEL12_texOff(vec2(0,1));
res += mat4(0.044658623635769,-0.264120846986771,-0.067830830812454,-0.022544696927071,-0.013717724941671,-0.191949874162674,0.202774658799171,0.049120370298624,-0.100149415433407,-0.000117968644190,-0.203115642070770,0.071717947721481,-0.088226340711117,0.118298761546612,-0.052619434893131,-0.004206317942590) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.059737484902143,-0.275144696235657,-0.040371902287006,-0.045159257948399,0.005392205435783,-0.274414449930191,-0.010196119546890,0.082039102911949,-0.072674050927162,-0.077379986643791,-0.025487489998341,-0.033522382378578,-0.069456823170185,-0.129959553480148,-0.161766529083252,0.015893956646323) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.189653322100639,0.079518780112267,-0.120878793299198,0.043784443289042,0.112511709332466,-0.096331454813480,-0.108112655580044,0.013071273453534,0.086993508040905,0.142920657992363,-0.098348617553711,0.084658019244671,0.201974257826805,-0.070014208555222,-0.183459341526031,-0.178299829363823) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.185761317610741,-0.237688228487968,0.014623931609094,0.459564745426178) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 3_4

vec4 hook()
{
vec4 res = vec4(0.113279059529305,0.171890795230865,-0.110630989074707,-0.171673789620399);
res += mat4(0.064970724284649,-0.062009278684855,0.029008977115154,0.086049176752567,0.103077195584774,-0.161703795194626,0.086830265820026,0.009995111264288,0.121376633644104,0.048651523888111,0.041126411408186,-0.079005844891071,-0.022834621369839,-0.096494317054749,0.026628669351339,-0.073909416794777) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.049314018338919,-0.266807556152344,-0.062862269580364,0.065569020807743,0.083965197205544,-0.054830312728882,0.114858940243721,-0.082049265503883,-0.060135919600725,-0.008202026598155,0.025437738746405,0.029355751350522,-0.187116548418999,-0.048686135560274,-0.133735060691833,-0.057052467018366) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.067378140985966,0.034040827304125,-0.014340934343636,-0.031643155962229,-0.160868436098099,0.164076730608940,0.020280793309212,0.040340408682823,-0.027183962985873,-0.002215023385361,0.046783257275820,0.017940301448107,-0.224889844655991,0.073758430778980,-0.180385306477547,0.038332927972078) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.016801951453090,-0.112352706491947,0.006004858762026,-0.164571672677994,0.024356056004763,-0.049917053431273,-0.070351295173168,-0.142460763454437,0.089412473142147,0.063991360366344,-0.051455732434988,-0.036331728100777,0.020544128492475,0.107382848858833,-0.086111038923264,0.107163980603218) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.149990156292915,0.033350557088852,0.141238957643509,0.017000177875161,0.148449614644051,0.039302337914705,0.153680562973022,-0.015976786613464,-0.108405023813248,-0.020172420889139,-0.093840993940830,0.011761706322432,0.023621184751391,0.092497698962688,-0.181505084037781,0.254254102706909) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.167856618762016,-0.128670483827591,-0.174297899007797,-0.163217067718506,-0.086502388119698,0.062467083334923,0.036115977913141,-0.070727244019508,-0.028334388509393,-0.020947769284248,0.067996770143509,-0.092580154538155,-0.230380192399025,0.059895861893892,-0.133844733238220,0.070555351674557) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.107435502111912,-0.017579099163413,-0.087243512272835,-0.021829605102539,0.136982053518295,0.008790927007794,-0.028805810958147,-0.005639235954732,0.018150648102164,0.033525079488754,-0.065204598009586,0.058492794632912,-0.117351509630680,-0.038482323288918,-0.007543489336967,0.201977252960205) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.281787127256393,-0.001747636008076,-0.017430644482374,0.056222766637802,0.092521071434021,-0.056915253400803,-0.076244063675404,-0.071318708360195,0.017073582857847,-0.116068750619888,-0.028760164976120,0.079639986157417,-0.018789317458868,0.001482292078435,-0.175101816654205,0.200657635927200) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.125075042247772,0.004021116066724,0.031967151910067,0.246672227978706,-0.132600963115692,-0.033727925270796,0.050533276051283,-0.050029318779707,-0.017538782209158,-0.075282588601112,0.007048648316413,0.078788809478283,-0.165522575378418,0.110986761748791,-0.096617519855499,-0.019564796239138) * MODEL7_texOff(vec2(1,1));
res += mat4(0.089509673416615,-0.193083778023720,-0.109432779252529,0.006304448004812,-0.037103410810232,0.094501532614231,0.035027030855417,-0.090300127863884,0.011980881914496,0.009136471897364,-0.036626968532801,-0.065389588475227,0.051009654998779,0.058654081076384,-0.022996213287115,0.136702790856361) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.075977772474289,0.160650849342346,0.172767654061317,-0.103627890348434,-0.022163471207023,0.019561465829611,0.011488283053041,-0.057768207043409,0.040834993124008,-0.025589609518647,-0.026592591777444,-0.091257192194462,0.014056987129152,-0.075505562126637,0.071745641529560,-0.021105797961354) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.273829728364944,-0.299054503440857,0.095721907913685,-0.087802410125732,-0.061273999512196,0.129243209958076,0.071818880736828,-0.181930959224701,-0.045212838798761,-0.065137028694153,-0.069437034428120,-0.131819769740105,-0.047420550137758,0.064740762114525,-0.101767718791962,0.121389836072922) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.128881976008415,-0.087241165339947,-0.070128478109837,0.011728641577065,-0.100070267915726,0.148111745715141,0.098943121731281,-0.171286419034004,-0.057352248579264,0.096357360482216,0.053630962967873,-0.067883916199207,0.006195386406034,0.001438749372028,0.076304465532303,0.009149374440312) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.299978435039520,0.082565642893314,0.007159392349422,-0.020106442272663,0.028230661526322,-0.109087780117989,0.033041518181562,0.177057996392250,-0.049355089664459,-0.039404787123203,-0.010069814510643,-0.250358104705811,0.052532903850079,0.122794449329376,-0.062704786658287,0.138318419456482) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.417336195707321,-0.108708798885345,-0.226130723953247,0.171234399080276,-0.192472770810127,0.018248472362757,0.042301323264837,-0.340254336595535,-0.067932814359665,0.136294513940811,-0.086314558982849,-0.235269740223885,-0.047542333602905,-0.009181296452880,0.259197264909744,0.141142234206200) * MODEL8_texOff(vec2(0,1));
res += mat4(0.059203114360571,-0.006930754054338,-0.116350635886192,-0.033343192189932,-0.037566471844912,-0.013125586323440,0.016427433118224,-0.024007795378566,0.125097766518593,-0.037289831787348,0.078329689800739,-0.129770383238792,0.011363670229912,-0.147381812334061,0.135112851858139,0.011723512783647) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.041385781019926,-0.041822221130133,0.017338940873742,0.005168954841793,-0.095663286745548,0.055017288774252,0.046720668673515,0.207989037036896,-0.078811638057232,-0.012031652033329,0.007393633946776,-0.139513954520226,0.050898622721434,0.004613331053406,-0.004077390301973,0.121675327420235) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.322789102792740,-0.039409458637238,-0.067647382616997,-0.079302422702312,-0.148318722844124,-0.260076940059662,0.099597416818142,-0.119145631790161,0.013811211101711,-0.037073343992233,0.088782839477062,-0.049716889858246,-0.016470173373818,0.171983018517494,-0.036622989922762,-0.079948492348194) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.000706171500497,0.057316482067108,-0.042471326887608,0.015424587763846,0.022255908697844,-0.222483456134796,-0.055136095732450,0.012855463661253,0.005810180213302,-0.047435957938433,0.008072350174189,-0.067100077867508,-0.061455674469471,0.084138087928295,-0.014660566113889,-0.022157687693834) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.062315370887518,-0.030089043080807,0.031926684081554,-0.041466284543276,0.050569474697113,0.010904350318015,-0.018923787400126,0.012502371333539,0.051529884338379,-0.095815278589725,0.236657932400703,-0.018044847995043,0.020091144368052,0.066829033195972,0.060037586838007,0.077995307743549) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.015686331316829,-0.013458220288157,-0.017843971028924,0.030864765867591,-0.097061119973660,-0.095306962728500,-0.041862893849611,0.086518935859203,-0.324088007211685,0.008270017802715,-0.088900431990623,0.011435309424996,-0.141056537628174,-0.017936728894711,0.035400263965130,-0.016295766457915) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.070879310369492,0.043064344674349,0.067249126732349,0.090721428394318,0.079003930091858,0.108590006828308,0.051185797899961,0.013744527474046,0.140447661280632,-0.038896963000298,0.028061149641871,-0.088901266455650,0.188958391547203,0.031073372811079,0.108986310660839,0.017414594069123) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.076491393148899,0.063804395496845,-0.030233921483159,-0.022625910118222,0.024545637890697,0.144713193178177,-0.053803693503141,0.153334498405457,0.024662576615810,0.042911324650049,-0.009270327165723,-0.007150089833885,0.097693361341953,0.087048150599003,0.322852790355682,0.009157658554614) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.003467862028629,0.087797574698925,-0.076571300625801,0.074730321764946,-0.140627399086952,-0.093047931790352,0.376673072576523,-0.121735006570816,-0.374036014080048,0.096962794661522,0.054605931043625,0.096984803676605,-0.258944928646088,-0.112539634108543,0.060062795877457,-0.101984575390816) * MODEL9_texOff(vec2(0,1));
res += mat4(0.078141197562218,0.054389338940382,0.018353769555688,-0.021715026348829,0.083009146153927,0.085722722113132,0.067420423030853,0.062076710164547,0.154738813638687,-0.103981584310532,-0.081269167363644,0.166086480021477,-0.138901203870773,0.033379979431629,-0.033923704177141,0.052073575556278) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.141665041446686,0.050879914313555,0.024976151064038,0.132250681519508,-0.047710467129946,-0.045851111412048,0.148056060075760,-0.033234730362892,-0.161013156175613,-0.173875913023949,0.020843060687184,-0.131444245576859,-0.028970697894692,-0.140495061874390,0.064398214221001,-0.145485460758209) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.118621475994587,0.036026690155268,0.057926241308451,-0.120643846690655,0.063869141042233,0.006783608347178,-0.108746141195297,0.087312594056129,-0.221043586730957,0.003425399074331,0.057883400470018,0.000911821378395,-0.023826105520129,0.054737444967031,0.097193434834480,0.072010062634945) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.063854381442070,0.021502662450075,-0.020578254014254,-0.038126204162836,0.010803082026541,0.123329684138298,0.095871217548847,-0.111067958176136,-0.010824850760400,-0.048493154346943,-0.090524919331074,-0.009913666173816,0.004481464624405,0.084801167249680,-0.015410977415740,0.034199696034193) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.010491948574781,0.047645658254623,-0.098053634166718,0.031782519072294,-0.032666444778442,-0.129606604576111,-0.224382832646370,0.085573576390743,-0.001935133710504,0.113117575645447,-0.045824341475964,-0.062419164925814,-0.107928849756718,0.033001124858856,-0.194051861763000,-0.145581707358360) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.100923232734203,0.097611755132675,0.055194362998009,0.077354773879051,-0.066319212317467,-0.055270552635193,0.007270270492882,-0.042899228632450,-0.025081520900130,-0.092463776469231,-0.023738970980048,-0.104835107922554,-0.015636326745152,-0.192727401852608,0.000418522336986,-0.088671974837780) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.089418016374111,-0.021042371168733,0.102986201643944,-0.026262896135449,0.119342297315598,-0.008511275053024,0.117230854928493,0.014425281435251,0.064089588820934,-0.055419016629457,0.047516416758299,-0.044923357665539,0.028163488954306,0.007369452621788,0.129057705402374,0.077588967978954) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.184619575738907,0.250991195440292,-0.287019193172455,-0.060422953218222,-0.066083349287510,-0.079277798533440,0.073671422898769,-0.014021260663867,0.195375561714172,-0.188272967934608,0.067602925002575,-0.074500516057014,0.003979787696153,0.097557209432125,0.109475940465927,-0.022735143080354) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.133505940437317,-0.087415941059589,0.161585256457329,-0.020115308463573,-0.072166964411736,0.055717185139656,0.191408589482307,0.180647492408752,-0.177371412515640,0.024165615439415,0.014612019062042,-0.057183802127838,-0.030280454084277,0.065642200410366,-0.077755287289619,-0.050283145159483) * MODEL10_texOff(vec2(0,1));
res += mat4(0.069589473307133,-0.035836614668369,0.010946169495583,-0.023072922602296,0.032751120626926,-0.059899907559156,0.141869306564331,0.057270772755146,0.110935412347317,0.087308593094349,-0.011712965555489,-0.122645311057568,0.000123358651763,-0.020525079220533,0.084523685276508,-0.039702806621790) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.335526406764984,0.060431595891714,0.126769542694092,0.028973484411836,-0.018622195348144,-0.076429814100266,-0.025836847722530,0.127642780542374,0.138574793934822,-0.340563148260117,0.016381559893489,0.149939313530922,0.025869498029351,0.011815222911537,0.031733077019453,0.026816576719284) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.172842577099800,-0.084416799247265,0.052595332264900,0.344326704740524,-0.123850829899311,-0.003681995207444,-0.043146491050720,0.097011201083660,-0.195273697376251,-0.152106150984764,0.006531740538776,-0.191235110163689,0.151799827814102,0.121940411627293,0.043417423963547,-0.145376354455948) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.015424887649715,-0.093146279454231,-0.111576616764069,-0.025660807266831,0.005751802120358,0.030759358778596,-0.169077113270760,0.023563716560602,0.111271500587463,-0.078359581530094,-0.104110702872276,-0.009541919454932,-0.037234976887703,-0.033049900084734,-0.012035650201142,-0.045472662895918) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.170710608363152,0.001229832298122,-0.210013508796692,0.013494703918695,0.060439500957727,0.020254401490092,-0.047086182981730,0.070984572172165,-0.061023745685816,0.170444518327713,0.260248363018036,-0.167871311306953,0.182622835040092,-0.015723749995232,0.103653408586979,0.023780276998878) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.096392862498760,-0.313607543706894,0.008093753829598,-0.068828567862511,-0.079290293157101,0.074210233986378,-0.076513931155205,0.060443717986345,-0.180385574698448,0.194785013794899,0.124690204858780,0.191292360424995,0.029741201549768,0.022852372378111,-0.038893252611160,0.169600889086723) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.021138519048691,-0.001974127022550,-0.039221391081810,-0.312239229679108,-0.006402461323887,0.061228610575199,0.059595245867968,-0.044957935810089,0.136676043272018,-0.106655992567539,-0.031561851501465,-0.018760068342090,-0.062931425869465,0.012872434221208,0.148587137460709,0.018277501687407) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.134378328919411,0.375349372625351,0.078476704657078,0.082036919891834,0.177299156785011,0.208992123603821,-0.247317194938660,-0.125160396099091,-0.122324578464031,0.168757319450378,0.104213654994965,0.113799773156643,0.194784745573997,0.166362300515175,0.223210930824280,-0.028136884793639) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.105493374168873,0.089543685317039,-0.112980797886848,-0.062166467308998,-0.164821967482567,-0.147646263241768,0.210177004337311,0.087509401142597,-0.254383385181427,0.051878955215216,-0.269700139760971,0.140767857432365,-0.103303171694279,0.006836988497525,-0.014108272269368,-0.017453560605645) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.019089516252279,-0.108831472694874,0.020557932555676,-0.148022443056107,0.032975777983665,0.077549889683723,-0.080929018557072,-0.039410017430782,-0.029293352738023,-0.077890224754810,0.022737486287951,0.056757435202599,-0.046501044183969,0.035799764096737,0.009568766690791,0.009219092316926) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.138914793729782,-0.055398229509592,-0.115989811718464,0.079019956290722,0.056983698159456,-0.073669895529747,-0.099323548376560,-0.082576237618923,0.096989989280701,-0.035349380224943,-0.002487865509465,0.169906660914421,-0.046641074120998,0.173000425100327,0.079129338264465,0.136708125472069) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.090380884706974,-0.014893567189574,-0.050792809575796,-0.068103007972240,0.068458236753941,0.081513591110706,-0.002019176492468,-0.153178647160530,-0.151795268058777,-0.104180157184601,0.104232206940651,0.076014868915081,-0.029601547867060,0.096132963895798,0.034840524196625,0.226077824831009) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.093699410557747,0.022684672847390,0.089501142501831,-0.017428219318390,0.061154693365097,-0.011154619976878,-0.073456980288029,-0.026111813262105,-0.062665589153767,0.092572063207626,-0.020228136330843,0.016114106401801,0.094031929969788,-0.128454357385635,0.038883667439222,-0.095994360744953) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.079026952385902,0.094275258481503,-0.043049868196249,0.064946077764034,-0.027293078601360,0.016823992133141,0.027766073122621,-0.071604639291763,0.037086229771376,-0.186501175165176,-0.175789251923561,0.010361469350755,-0.083909057080746,-0.105154387652874,0.094154484570026,0.005296060349792) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.237995594739914,0.135498315095901,0.047059375792742,-0.077903278172016,-0.142409220337868,0.042514182627201,0.096354633569717,-0.124583661556244,-0.096570990979671,-0.032524425536394,-0.079821147024632,0.007260480895638,-0.007901271805167,-0.161532625555992,0.014089197851717,0.095683306455612) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.068875759840012,0.025285491719842,-0.036307569593191,0.051193326711655,0.053856950253248,-0.137686446309090,0.044152472168207,-0.013698202557862,0.036192126572132,-0.121954739093781,-0.208808228373528,0.058281570672989,0.154154598712921,-0.249204441905022,0.028519552201033,-0.218758836388588) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.017119536176324,0.169753074645996,0.071754768490791,-0.078069992363453,0.004330301657319,-0.028379380702972,0.176009133458138,-0.079021289944649,-0.100729987025261,0.048070002347231,-0.027223708108068,0.089646823704243,-0.045705236494541,0.193588122725487,0.034935429692268,-0.024580819532275) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.204799279570580,0.233344882726669,0.032306749373674,-0.118046723306179,-0.218860328197479,0.036096073687077,0.254710167646408,0.022881943732500,0.004713919013739,-0.036837887018919,0.022018771618605,0.096560038626194,-0.063899941742420,-0.108647957444191,-0.091160774230957,-0.031903520226479) * MODEL12_texOff(vec2(0,1));
res += mat4(0.021413691341877,0.069537803530693,0.070014208555222,0.083807319402695,-0.011445049196482,-0.050845775753260,0.100488498806953,0.130829229950905,0.122278526425362,-0.085217721760273,-0.042749289423227,0.006738624069840,0.169105619192123,-0.070227503776550,0.065846092998981,-0.085017986595631) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.225614830851555,-0.036824911832809,0.047980770468712,-0.008402853272855,0.026106350123882,-0.095509141683578,0.163151353597641,0.011103006079793,-0.160334363579750,0.224779769778252,-0.165031641721725,0.177172467112541,0.072411447763443,-0.209381654858589,-0.095790661871433,0.107772246003151) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.112363651394844,0.147250294685364,0.188443705439568,0.173117086291313,-0.207490473985672,-0.104892633855343,-0.013464476913214,0.216129019856453,-0.099133364856243,-0.011758483946323,-0.014281947165728,0.240621373057365,-0.140439599752426,0.078443594276905,-0.097721703350544,0.097553387284279) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.025597954168916,0.484038919210434,0.612379670143127,-0.033131495118141) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 3_5

vec4 hook()
{
vec4 res = vec4(0.010556977242231,-0.243918806314468,-0.119685791432858,0.009041839279234);
res += mat4(-0.029191553592682,0.124529510736465,0.057914234697819,0.019266789779067,0.231640502810478,-0.044312521815300,0.122004874050617,0.163161456584930,-0.077565126121044,0.009787312708795,0.021909944713116,-0.046689730137587,0.038395602256060,-0.050974808633327,-0.047507394105196,-0.155690461397171) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.090626619756222,0.032298512756824,0.091597251594067,0.001170720788650,-0.064857840538025,0.092208832502365,0.081192336976528,0.018048729747534,0.036239538341761,0.001108263037167,0.202661991119385,-0.080400049686432,0.072723045945168,-0.208382382988930,0.010137500241399,0.183344513177872) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.146316409111023,0.240138471126556,0.083271436393261,-0.027191279456019,-0.014086974784732,-0.005442620255053,-0.152082711458206,0.085134521126747,0.091114081442356,0.069985799491405,0.043983351439238,-0.115728460252285,0.072971105575562,-0.148435562849045,-0.017307661473751,-0.093481652438641) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.137515738606453,-0.080601356923580,-0.094576969742775,-0.238483533263206,-0.021423306316137,0.021826274693012,0.118199706077576,0.038309998810291,0.054132789373398,-0.032321337610483,0.084447160363197,0.198496893048286,-0.327311664819717,-0.178957834839821,0.007510157302022,-0.179469093680382) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.194964945316315,0.248429685831070,0.201075926423073,-0.168253660202026,0.027679271996021,0.062574438750744,0.096311464905739,-0.043791413307190,0.032909125089645,-0.089506052434444,0.003943116869777,-0.086770147085190,-0.002555185696110,-0.043527126312256,0.061535030603409,0.001227909931913) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.238032609224319,0.057619925588369,0.139656156301498,0.187304332852364,0.055210635066032,0.140001177787781,0.003839303972200,0.058403410017490,0.023187749087811,0.098486423492432,0.121774539351463,0.010638883337379,-0.090766146779060,-0.120889209210873,-0.065086238086224,-0.041700083762407) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.101046301424503,0.158542320132256,0.123488776385784,-0.026387268677354,0.015049579553306,0.096632212400436,-0.088911727070808,0.113223709166050,0.077898547053337,0.040788110345602,0.015879431739450,-0.111779265105724,0.053015977144241,-0.223464190959930,0.004343986045569,0.154624521732330) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.348008006811142,0.120488360524178,0.230583652853966,-0.055365711450577,-0.050367798656225,-0.036371853202581,-0.068717822432518,-0.210531219840050,-0.101867116987705,-0.106576420366764,-0.031235963106155,0.095013409852982,-0.020522242411971,-0.147374793887138,0.029425874352455,-0.050071563571692) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.008761771023273,0.127189025282860,0.071490511298180,0.162760213017464,-0.071866430342197,0.087333679199219,-0.211482971906662,0.168560683727264,-0.074718445539474,-0.090131796896458,0.092152737081051,-0.000881234242115,0.117399550974369,-0.095989607274532,-0.015597745776176,-0.026207396760583) * MODEL7_texOff(vec2(1,1));
res += mat4(0.167017146945000,0.005555084440857,0.066860355436802,-0.022579139098525,-0.039717245846987,-0.009996050968766,-0.182478711009026,-0.110961027443409,0.059521693736315,-0.097129687666893,0.039134327322245,-0.139297962188721,0.097482047975063,-0.045807655900717,-0.032405272126198,-0.003952416125685) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.208792954683304,0.026026887819171,0.124329037964344,-0.047086544334888,0.056987103074789,-0.029010768979788,-0.100100934505463,0.073133751749992,0.100673727691174,-0.094878941774368,0.169932857155800,0.047374229878187,-0.036807160824537,-0.110850781202316,-0.125542491674423,-0.071378998458385) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.115240424871445,-0.011224747635424,-0.061378218233585,-0.082889743149281,0.034759074449539,-0.056334905326366,-0.068029731512070,0.064746953547001,-0.105642631649971,-0.071235075592995,0.127006620168686,-0.107371002435684,-0.089745983481407,-0.036010727286339,0.079356797039509,-0.007088866084814) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.115815781056881,0.043158944696188,-0.000164914308698,0.161991894245148,-0.166931405663490,-0.064415030181408,-0.203527718782425,-0.130456969141960,-0.186403006315231,0.006164412945509,0.113070331513882,-0.226510182023048,-0.197906404733658,-0.230526983737946,-0.105381384491920,0.131982296705246) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.162629127502441,-0.002280185231939,-0.141712874174118,0.038546085357666,0.097839981317520,0.056874319911003,0.073559150099754,0.143381759524345,-0.143215879797935,-0.119722887873650,0.044196836650372,0.086278475821018,-0.092201568186283,-0.158537954092026,-0.013093411922455,-0.124554224312305) * MODEL8_texOff(vec2(0,0));
res += mat4(0.034046497195959,-0.026971764862537,-0.131031230092049,-0.241059973835945,-0.013651698827744,-0.006649665068835,-0.199122339487076,0.068757534027100,0.081744827330112,-0.104594476521015,0.137580886483192,-0.046326976269484,-0.039191503077745,-0.201093837618828,0.050462495535612,-0.089102357625961) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.178691193461418,-0.018060771748424,0.077976554632187,0.173196941614151,-0.083033517003059,-0.249071061611176,-0.025975614786148,-0.141006901860237,0.136448621749878,0.004359100479633,-0.014465045183897,-0.254138231277466,0.192097440361977,-0.126165375113487,-0.052839413285255,0.221700698137283) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.052691780030727,-0.087368451058865,0.022810800001025,-0.216862142086029,-0.030862316489220,0.028500951826572,-0.107428446412086,-0.201736405491829,-0.042808298021555,0.021047709509730,-0.136379599571228,0.095295451581478,0.001103912480175,0.003189779818058,0.193745836615562,-0.141119748353958) * MODEL8_texOff(vec2(1,0));
res += mat4(0.040472555905581,-0.038508515805006,-0.016538232564926,-0.081191092729568,-0.007230050396174,-0.095573782920837,-0.192117646336555,0.068779535591602,0.037385728210211,-0.040521144866943,-0.121524855494499,-0.005801067221910,0.123773150146008,-0.036181773990393,-0.035719782114029,0.018440499901772) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.157507747411728,-0.106681145727634,-0.009865850210190,-0.028688045218587,-0.013791224919260,0.086585432291031,-0.029716687276959,0.065471410751343,-0.054419256746769,0.093250915408134,-0.095403276383877,-0.093276202678680,-0.040693927556276,0.026814963668585,0.168834388256073,0.045925531536341) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.078410625457764,-0.055820334702730,-0.057815618813038,-0.072946667671204,-0.287751555442810,0.015948317945004,0.066200859844685,-0.037372358143330,-0.101411692798138,0.037950169295073,-0.124063760042191,-0.060509495437145,0.044077794998884,0.185974046587944,-0.057772010564804,0.015857599675655) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.056309338659048,0.009769397787750,-0.158383548259735,-0.120368592441082,-0.170615926384926,0.041141737252474,0.101636558771133,0.046989280730486,0.116009198129177,0.088305734097958,0.116475068032742,0.099189244210720,0.024539511650801,0.086357749998569,0.191029146313667,-0.088473044335842) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.228875368833542,0.038132917135954,0.026757473126054,0.015412275679410,0.051319684833288,0.230275616049767,0.131964549422264,0.303647428750992,-0.108100011944771,0.264707863330841,0.019167568534613,-0.218971118330956,0.055502735078335,-0.070578269660473,-0.062749937176704,0.047401487827301) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.132005840539932,0.023060036823153,-0.058879334479570,-0.039264321327209,0.311363816261292,0.056948143988848,0.029570741578937,-0.145994111895561,0.129323393106461,0.105274304747581,0.054900731891394,-0.079776532948017,-0.036212358623743,-0.033668894320726,-0.005269621964544,-0.004401774145663) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.015351347625256,-0.063551917672157,-0.133289277553558,-0.104657225310802,0.088335759937763,0.088503345847130,-0.082945220172405,-0.167245402932167,0.076790906488895,0.262626409530640,-0.007413436193019,-0.042655095458031,-0.063730731606483,-0.066890440881252,-0.016353115439415,-0.039914418011904) * MODEL9_texOff(vec2(0,1));
res += mat4(0.084614858031273,-0.067140467464924,-0.001131956349127,-0.033305224031210,0.095659412443638,0.100572034716606,-0.053515635430813,0.014048275537789,0.231684729456902,0.029179761186242,0.012269711121917,0.125738471746445,-0.069013908505440,-0.007666524499655,0.027685357257724,-0.132615864276886) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.131631791591644,-0.033903580158949,0.062515296041965,0.133965402841568,0.089984439313412,0.051382642239332,-0.002503535477445,0.075446411967278,0.184987023472786,0.037189234048128,0.087624475359917,0.015797819942236,-0.021835189312696,-0.041427984833717,0.038932442665100,0.116006337106228) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.087756298482418,-0.024283012375236,0.003045450663194,-0.249488130211830,-0.127370893955231,0.072691865265369,-0.211028918623924,-0.031973596662283,-0.121988505125046,0.073284335434437,0.023867864161730,0.010991361923516,-0.034976184368134,-0.030977211892605,0.025808205828071,0.024293726310134) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.210571914911270,0.054779671132565,-0.034132737666368,-0.031885150820017,-0.096648924052715,0.057052168995142,0.134189486503601,0.090877488255501,-0.114717930555344,0.053968910127878,0.022472539916635,0.236763834953308,-0.118109785020351,0.107300899922848,0.137842491269112,0.144102379679680) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.111121721565723,-0.021337330341339,0.058185469359159,0.058952130377293,-0.279723703861237,0.104934975504875,0.110861949622631,-0.075002245604992,0.019971227273345,-0.026340452954173,-0.099099636077881,-0.133103683590889,0.043280217796564,-0.027849767357111,-0.064457386732101,-0.008047440089285) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.065273903310299,-0.009509333409369,-0.022189714014530,0.001899128314108,0.145092234015465,-0.001010048668832,0.118050865828991,0.025728674605489,0.017707092687488,0.079656645655632,-0.153254508972168,-0.044394679367542,-0.016830962151289,-0.016513669863343,-0.011622366495430,0.042256236076355) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.188403487205505,0.076258607208729,0.044365368783474,-0.101250655949116,0.107444889843464,0.046805262565613,0.097183711826801,-0.299853056669235,-0.157915547490120,-0.121037155389786,-0.102986223995686,0.381216198205948,-0.022902268916368,0.012926690280437,-0.114598184823990,-0.051653467118740) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.001391688943841,-0.036853823810816,-0.200132042169571,-0.001518040429801,0.023319674655795,0.127183407545090,0.161372467875481,-0.026766505092382,-0.298947572708130,-0.049665760248899,-0.075279608368874,0.064033649861813,-0.140803724527359,0.405569434165955,0.325446486473083,-0.129834502935410) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.144806474447250,-0.154744535684586,0.068733252584934,0.150622650980949,0.137032821774483,0.017375964671373,-0.087745167315006,-0.026423353701830,-0.171476364135742,-0.191258445382118,0.188699677586555,0.031744603067636,-0.040449656546116,0.101655781269073,0.100097693502903,0.043021533638239) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.022917686030269,-0.079241529107094,-0.056146014481783,0.097606658935547,0.229354798793793,0.008372598327696,-0.032388258725405,-0.240583196282387,0.241797596216202,-0.218871966004372,-0.172333016991615,-0.345096796751022,0.056959617882967,0.117255933582783,-0.040767628699541,-0.028939012438059) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.068246327340603,-0.110699713230133,0.126112788915634,-0.387377172708511,0.128355741500854,-0.011090484447777,-0.044955179095268,0.343701630830765,0.143671989440918,-0.033054120838642,-0.071823313832283,0.076551094651222,-0.090120702981949,0.215934127569199,-0.017193879932165,-0.072600319981575) * MODEL10_texOff(vec2(1,0));
res += mat4(0.071192920207977,0.016777914017439,0.048788420855999,0.084257297217846,0.014520998112857,-0.147288471460342,-0.038056660443544,-0.101767219603062,0.152538403868675,0.085167497396469,-0.073211342096329,0.168292984366417,-0.078882507979870,0.063862286508083,-0.083073735237122,-0.054987076669931) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.188107848167419,-0.106882482767105,-0.143518254160881,-0.099243611097336,-0.042407993227243,-0.004372262861580,-0.010824650526047,0.044684652239084,-0.001287423423491,0.041461113840342,0.033322967588902,-0.314331412315369,0.104083053767681,0.037281069904566,-0.071876473724842,0.096501439809799) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.073592834174633,0.066095627844334,0.191086515784264,-0.274281173944473,0.071817293763161,-0.028669310733676,-0.044918078929186,0.000649569788948,-0.098730914294720,0.033849798142910,0.119249232113361,0.039884608238935,-0.065908886492252,-0.049374546855688,-0.126597940921783,-0.099437482655048) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.058016911149025,-0.170717149972916,0.002852556761354,0.010226550512016,-0.072979837656021,-0.087914302945137,-0.086470916867256,-0.015246583148837,-0.171278581023216,0.076184682548046,-0.115140244364738,-0.131431654095650,0.031275130808353,0.015169782564044,-0.092390932142735,0.105391055345535) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.118982486426830,-0.019666207954288,0.165319070219994,-0.022169424220920,0.148880749940872,0.129119127988815,-0.089873567223549,-0.019559448584914,0.076917111873627,0.028708705678582,0.010960114188492,0.008853066712618,0.041714645922184,-0.034785930067301,0.019267560914159,0.023684253916144) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.154972314834595,0.031055744737387,0.088980711996555,0.118349671363831,-0.074278548359871,0.235757872462273,0.125100016593933,-0.202722027897835,-0.148998454213142,0.078958794474602,-0.006727600935847,0.119593247771263,0.146338805556297,-0.051709935069084,-0.097415573894978,-0.125930353999138) * MODEL11_texOff(vec2(0,0));
res += mat4(0.153889298439026,-0.241293832659721,-0.228266686201096,-0.234857603907585,-0.121567666530609,0.211008787155151,0.065592668950558,0.109975762665272,-0.088276349008083,-0.101898849010468,-0.015848621726036,0.018720453605056,-0.033567000180483,-0.051430653780699,-0.004183860495687,0.079648450016975) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.121323302388191,-0.037862058728933,-0.083944439888000,0.076613508164883,-0.015356012620032,0.036799028515816,-0.046450074762106,-0.066676594316959,-0.244796201586723,0.076815016567707,0.027550866827369,-0.072407886385918,-0.033152971416712,0.038154348731041,-0.029160656034946,0.096146456897259) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.207266405224800,-0.104746878147125,-0.063599571585655,0.211901754140854,0.034639179706573,0.033326253294945,-0.031907379627228,-0.102579489350319,-0.230369731783867,0.030365152284503,-0.032364800572395,-0.246868714690208,-0.051336281001568,-0.008568119257689,-0.059678960591555,-0.108561366796494) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.129314705729485,-0.067343637347221,-0.077019795775414,-0.319248348474503,0.035912044346333,-0.075765028595924,0.004994002636522,-0.106155171990395,-0.018037874251604,0.063375808298588,-0.003077385947108,-0.028612706810236,0.060053221881390,-0.055053781718016,-0.102605968713760,-0.100124448537827) * MODEL11_texOff(vec2(1,1));
res += mat4(0.068030513823032,-0.040135413408279,-0.105722486972809,-0.007834043353796,-0.085031472146511,-0.054282002151012,0.056860048323870,0.102170407772064,0.035106450319290,0.093299694359303,0.130058094859123,0.096992596983910,-0.160117402672768,0.052472025156021,0.030162340030074,-0.067093983292580) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.050543859601021,-0.065596714615822,0.137267485260963,0.096087515354156,0.015496256761253,0.082436203956604,0.084933519363403,0.030159302055836,-0.040309462696314,-0.076387025415897,0.083227381110191,-0.082415021955967,-0.098985277116299,0.061159789562225,0.063928239047527,-0.006567880045623) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.144102230668068,-0.137265428900719,-0.007917869836092,-0.106160901486874,0.015732361003757,0.069149352610111,0.061707437038422,0.052312068641186,-0.010645265690982,0.021071849390864,0.055706791579723,0.096512913703918,-0.241660356521606,0.045941825956106,-0.016826864331961,0.098534964025021) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.219763055443764,-0.075590401887894,0.026214310899377,-0.065915115177631,-0.136770784854889,0.173037156462669,0.125021785497665,0.230489492416382,0.228359922766685,0.064461886882782,-0.038760386407375,0.196432799100876,-0.278892517089844,0.071459837257862,0.035549841821194,-0.039033912122250) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.024511078372598,0.423357218503952,0.106687143445015,-0.171649351716042,0.170836731791496,0.102233752608299,0.074154384434223,0.100228942930698,0.110156342387199,0.022058269008994,-0.026568010449409,-0.220844984054565,-0.237273976206779,-0.000628641340882,0.067554414272308,-0.118231929838657) * MODEL12_texOff(vec2(0,0));
res += mat4(0.066383853554726,-0.350206434726715,-0.078021548688412,-0.033421877771616,0.116314463317394,0.178736224770546,0.080814681947231,-0.038514733314514,-0.054130516946316,0.070720829069614,0.013788496144116,0.102059125900269,-0.169253289699554,0.156544461846352,-0.011528413742781,-0.140932723879814) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.000375729578082,0.079955920577049,-0.149142712354660,0.029213074594736,0.331796944141388,-0.086111590266228,0.004442667122930,0.069832257926464,-0.094141498208046,0.067038722336292,-0.036208752542734,0.010424861684442,-0.132416009902954,0.047479156404734,-0.033886644989252,0.088031940162182) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.019229540601373,0.099128291010857,-0.050326157361269,0.097069650888443,0.112846575677395,-0.105357095599174,-0.040847044438124,0.237621560692787,-0.107443779706955,0.009253866970539,0.059933513402939,0.150463923811913,-0.392553925514221,0.067139729857445,-0.109628789126873,0.079899169504642) * MODEL12_texOff(vec2(1,0));
res += mat4(0.097003929316998,-0.259692668914795,-0.033726096153259,-0.021255237981677,-0.031126590445638,0.033685699105263,-0.044166322797537,-0.049062423408031,0.014207626692951,0.011661685071886,-0.021022237837315,-0.120891883969307,-0.210018664598465,0.058221179991961,0.053837273269892,0.078118853271008) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.072498008608818,0.046832010149956,-0.016172578558326,-0.171237826347351) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 3_6

vec4 hook()
{
vec4 res = vec4(0.023883292451501,-0.044232677668333,0.098326765000820,0.014118207618594);
res += mat4(0.060497369617224,-0.111971653997898,0.021942015737295,0.054374653846025,-0.009655346162617,-0.097721144556999,-0.064087010920048,0.062985919415951,0.199485003948212,-0.015778364613652,-0.075665943324566,0.021363297477365,0.193739473819733,0.054617989808321,-0.067615434527397,-0.112084440886974) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.051507633179426,-0.129948794841766,-0.220891267061234,-0.161335378885269,0.289358586072922,-0.057582929730415,-0.264654278755188,0.120941825211048,0.007286634761840,-0.006299071013927,0.086378492414951,-0.109967909753323,0.127209901809692,0.077621504664421,-0.185290694236755,-0.141926318407059) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.105009056627750,-0.094644814729691,0.090138077735901,0.060104183852673,0.060099404305220,-0.083540096879005,-0.115446910262108,0.006288729608059,0.176822543144226,-0.023261932656169,0.042021557688713,0.029261678457260,-0.096606947481632,0.047268800437450,-0.073094859719276,0.080860875546932) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.046801079064608,-0.016264081001282,-0.076319754123688,0.073309153318405,-0.019456880167127,0.095258869230747,-0.212142154574394,0.047601334750652,-0.115648932754993,0.135321095585823,0.001657667569816,-0.028415359556675,0.135006502270699,-0.168995961546898,-0.101229578256607,-0.174345001578331) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.293003350496292,-0.194956421852112,0.467974960803986,-0.067596726119518,0.069157451391220,-0.002633355325088,-0.200451076030731,-0.017482319846749,0.202660188078880,0.027286231517792,0.118736855685711,-0.093939132988453,-0.147720068693161,0.021872969344258,-0.214265465736389,-0.143846809864044) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.083847589790821,0.007122028153390,-0.046681586652994,0.009097252972424,-0.230313152074814,-0.025746043771505,-0.183086782693863,0.133359476923943,0.182714432477951,0.067485779523849,-0.019104881212115,0.065317846834660,-0.132917299866676,0.071090683341026,-0.057044465094805,-0.046464752405882) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.078813210129738,0.057532522827387,-0.003234946867451,-0.156393229961395,-0.007992760278285,-0.124536931514740,-0.178207963705063,-0.026015624403954,0.016742432489991,-0.009185679256916,0.034377641975880,-0.107527114450932,-0.123828865587711,-0.015028293244541,0.037601951509714,-0.117541462182999) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.300672024488449,0.155438736081123,0.052175629884005,0.082157902419567,0.030337132513523,0.010566921904683,-0.051547557115555,0.041434317827225,-0.090100727975368,0.039718095213175,0.035973496735096,-0.076360300183296,-0.191347792744637,-0.054426807910204,-0.072238892316818,-0.050730444490910) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.022525528445840,0.074883826076984,0.013260601088405,-0.026692157611251,-0.127229690551758,-0.012645654380322,-0.062587134540081,0.225064530968666,0.025999892503023,0.026672650128603,-0.123206861317158,0.002851413562894,-0.217535182833672,-0.033670380711555,-0.049921847879887,0.037630114704370) * MODEL7_texOff(vec2(1,1));
res += mat4(0.005338008515537,0.078852348029613,-0.085815817117691,-0.107801057398319,-0.028244452551007,-0.050269290804863,-0.044934909790754,0.142755717039108,-0.095025494694710,-0.068575941026211,-0.005853921175003,0.031212145462632,0.032653994858265,0.008921870961785,0.065384678542614,-0.100343719124794) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.045209236443043,-0.094483569264412,-0.057513017207384,-0.276339143514633,0.044871583580971,0.044564936310053,0.033600710332394,-0.024387914687395,0.050046529620886,-0.031909331679344,-0.133270576596260,-0.169452026486397,0.020849525928497,-0.066091969609261,-0.031101346015930,0.106954619288445) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.076042532920837,-0.055825617164373,0.028654819354415,0.081480823457241,-0.041118398308754,-0.082406565546989,0.014543359167874,-0.027093052864075,-0.002983608050272,-0.039849337190390,-0.013062286190689,-0.049532987177372,-0.035156253725290,-0.021089319139719,0.008046147413552,-0.056644115597010) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.085593663156033,0.015100698918104,0.011645652353764,-0.108429692685604,-0.067108161747456,0.019810102880001,0.037159774452448,0.056956466287374,-0.029695263132453,-0.013687772676349,-0.004276554565877,-0.023911550641060,0.057351049035788,0.001491076545790,-0.016060175374150,0.082673095166683) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.077847003936768,0.090807996690273,-0.033008832484484,-0.208262443542480,0.144910544157028,0.143550187349319,0.118890561163425,0.047940481454134,-0.073135249316692,-0.028092617169023,-0.097316965460777,-0.132830813527107,-0.214398831129074,0.086221493780613,-0.043650910258293,-0.143802121281624) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.021678041666746,-0.019816014915705,0.020848162472248,-0.007384948898107,-0.105659276247025,-0.090487360954285,0.120973579585552,-0.111421398818493,-0.032255019992590,0.042486757040024,0.113900154829025,-0.202964320778847,0.067066051065922,-0.055078744888306,-0.069931849837303,-0.089873239398003) * MODEL8_texOff(vec2(0,1));
res += mat4(0.027150034904480,0.019980274140835,-0.019351342692971,-0.205204933881760,-0.041635680943727,-0.046653036028147,-0.051026720553637,0.099528357386589,-0.157605424523354,0.022657180204988,-0.013406672514975,0.079765185713768,-0.072750225663185,0.101199828088284,-0.012356202118099,-0.052671868354082) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.118340246379375,0.081267789006233,0.124420262873173,0.115078918635845,0.161153495311737,-0.083840407431126,0.092667281627655,-0.022841898724437,0.162528723478317,-0.234462708234787,-0.041453029960394,-0.160140618681908,-0.059111017733812,-0.105193741619587,-0.094570122659206,-0.115539014339447) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.074292644858360,-0.015884568914771,0.169789135456085,-0.002558626933023,-0.008295821025968,-0.173655197024345,0.060021281242371,0.036584984511137,0.135098591446877,-0.084214948117733,-0.075638718903065,-0.014746374450624,-0.025345461443067,0.001923534087837,-0.108385562896729,0.051957640796900) * MODEL8_texOff(vec2(1,1));
res += mat4(0.081399984657764,0.021050846204162,-0.047384802252054,-0.087850935757160,0.014403047971427,0.044645294547081,-0.069583043456078,-0.318211138248444,-0.030865589156747,0.080156087875366,-0.079148016870022,0.035495463758707,-0.062553003430367,-0.039115056395531,0.090873017907143,-0.049175098538399) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.133324727416039,0.130582660436630,0.002186386147514,-0.089025743305683,0.094645202159882,0.151128366589546,-0.101914808154106,0.350033730268478,0.103866174817085,0.011078075505793,-0.077371947467327,-0.041651740670204,-0.178302362561226,0.133828103542328,-0.086270920932293,0.193505391478539) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.033895533531904,-0.060596991330385,0.006144483108073,0.117580056190491,0.094042599201202,0.186952143907547,0.000888371490873,0.044294297695160,-0.014769691973925,-0.052267484366894,0.013341049663723,0.103285178542137,-0.024605056270957,0.075337946414948,0.197179168462753,0.090534269809723) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.097170419991016,-0.037554122507572,0.022848701104522,-0.019825953990221,-0.037854429334402,-0.153477281332016,-0.081413544714451,-0.470798134803772,-0.087351486086845,-0.018915820866823,-0.127874836325645,0.072740621864796,-0.098550580441952,0.039336733520031,0.002984652295709,-0.135054498910904) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.034952934831381,0.066675893962383,0.078754201531410,-0.022413013502955,-0.520667254924774,-0.047574568539858,-0.257076412439346,0.113583050668240,-0.128192171454430,0.040497656911612,0.006322320550680,0.097940891981125,0.026445202529430,-0.001676319516264,0.002246622461826,0.095712244510651) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.001801870297641,0.047700002789497,0.056394249200821,-0.010921780951321,0.118270665407181,-0.038174346089363,-0.176565870642662,0.041740104556084,-0.055291283875704,-0.105849936604500,-0.023010838776827,0.106992773711681,-0.128882497549057,-0.148401722311974,-0.156357347965240,0.057491481304169) * MODEL9_texOff(vec2(0,1));
res += mat4(0.079422816634178,0.112418606877327,-0.002201952273026,0.072183459997177,0.024396397173405,0.016935143619776,0.164106324315071,-0.075808964669704,-0.107831671833992,0.021585661917925,0.033351339399815,-0.183780238032341,0.145293176174164,-0.005906824953854,-0.126650303602219,0.102410286664963) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.096645317971706,0.134130239486694,-0.033925458788872,0.038738120347261,-0.126715987920761,0.108470320701599,-0.125917553901672,0.242384672164917,0.130558028817177,-0.022475916892290,-0.045936897397041,-0.003004653844982,-0.052369486540556,-0.002029025461525,-0.211790099740028,-0.166499361395836) * MODEL9_texOff(vec2(1,0));
res += mat4(0.055483251810074,0.045113790780306,-0.074846029281616,0.110163703560829,-0.040375050157309,0.187931343913078,0.026965396478772,0.010851353406906,-0.049952946603298,-0.084393925964832,0.047195903956890,-0.160984829068184,-0.087045595049858,-0.069680079817772,0.089037969708443,0.030998596921563) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.090911343693733,0.159178540110588,-0.042456787079573,0.082707896828651,-0.083742991089821,-0.058036480098963,0.109944358468056,-0.381086707115173,0.153054624795914,-0.082179047167301,-0.054956745356321,-0.065630823373795,-0.135703295469284,0.054490819573402,-0.091776706278324,-0.036904513835907) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.029101099818945,0.063257627189159,0.004222187213600,0.002903161570430,0.047346793115139,-0.005569853354245,-0.034720938652754,-0.193314209580421,-0.096055433154106,0.080829694867134,-0.009771842509508,0.033410832285881,-0.001852825866081,0.168308570981026,-0.211081698536873,0.017936419695616) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.101139023900032,0.074337989091873,0.019612213596702,0.133862793445587,-0.036282487213612,0.029750933870673,-0.050968311727047,-0.417504429817200,-0.044958073645830,-0.055328488349915,-0.014119766652584,0.075052894651890,-0.010804807767272,-0.066322013735771,-0.070195682346821,-0.077102586627007) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.026212913915515,0.089777097105980,-0.189052641391754,-0.108309350907803,-0.068915136158466,-0.027757216244936,0.058402922004461,-0.284310758113861,-0.007983444258571,-0.034871894866228,-0.125353395938873,0.289493292570114,-0.246310636401176,-0.006476119626313,-0.101540662348270,0.208428069949150) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.078082911670208,-0.436191499233246,0.035045944154263,-0.093595370650291,-0.096447341144085,-0.015211449936032,-0.004624638706446,-0.315622776746750,-0.082464516162872,0.301022559404373,-0.130109876394272,-0.010348716750741,0.174888193607330,-0.065425597131252,0.142481118440628,-0.071524575352669) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.061750702559948,-0.006231322418898,-0.085170701146126,-0.019338546320796,-0.051492199301720,-0.060294557362795,-0.037026003003120,-0.116838000714779,-0.141060382127762,0.074855297803879,0.084896750748158,0.012164501473308,0.239834740757942,-0.116963297128677,0.107281789183617,-0.044152986258268) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.039341107010841,-0.105951756238937,-0.135889589786530,-0.163888424634933,0.000615790951997,-0.132959917187691,0.180961236357689,0.058549989014864,0.070110097527504,-0.051572538912296,0.018070898950100,0.082793116569519,-0.115263514220715,-0.047250889241695,-0.013616528362036,-0.171699896454811) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.215737774968147,0.243741735816002,0.251199513673782,0.263811200857162,0.022218722850084,-0.091794364154339,0.140266194939613,-0.337216556072235,-0.090703867375851,-0.170810878276825,-0.116404861211777,-0.071326717734337,-0.014022812247276,0.019650427624583,0.129781588912010,-0.215522751212120) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.061337634921074,0.018937606364489,-0.051274389028549,-0.162864059209824,0.023949267342687,-0.020952427759767,0.019082803279161,0.078231453895569,0.025650542229414,-0.114537082612514,-0.126022428274155,-0.056799661368132,0.087943136692047,0.055052846670151,0.089492179453373,-0.014879380352795) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.068523190915585,-0.024377958849072,0.098375611007214,-0.017672821879387,-0.003343665041029,0.035315193235874,-0.072618424892426,0.038444843143225,-0.048484113067389,-0.003882911987603,-0.084975190460682,-0.131981015205383,-0.256231874227524,-0.102755568921566,0.022043388336897,-0.309553116559982) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.140155091881752,-0.145738080143929,0.043820727616549,0.153324082493782,0.064736239612103,0.006870112847537,-0.063007041811943,-0.104026526212692,0.051353536546230,-0.082483962178230,-0.014683282002807,0.025754626840353,-0.119594305753708,0.088107407093048,-0.017180707305670,0.131737813353539) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.075350403785706,-0.088957838714123,-0.022475503385067,0.020909814164042,-0.083573698997498,0.033686820417643,-0.015328821726143,0.041864141821861,-0.001283858437091,-0.148127347230911,0.015410793945193,0.133379876613617,-0.138052850961685,0.048271853476763,-0.006026369519532,0.030573094263673) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.068017430603504,0.069939486682415,-0.319652974605560,0.109510086476803,0.032386675477028,0.005108607467264,-0.167711213231087,0.078204035758972,0.070851370692253,-0.008457287214696,-0.036462415009737,-0.203318312764168,-0.140200465917587,-0.060322679579258,0.040950223803520,-0.255815982818604) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.096260212361813,-0.172773942351341,-0.101954817771912,-0.088222742080688,0.169588431715965,-0.049196071922779,0.144018217921257,-0.030701223760843,-0.049474928528070,-0.023887457326055,-0.006730576045811,0.035651121288538,-0.124125055968761,-0.023567155003548,-0.001345237484202,0.217059925198555) * MODEL11_texOff(vec2(0,0));
res += mat4(0.059540335088968,0.021960733458400,0.145355656743050,0.121634460985661,-0.022199518978596,0.160880267620087,-0.064524941146374,-0.124920114874840,-0.227968707680702,0.045352462679148,0.042524304240942,-0.055029515177011,-0.049423776566982,-0.076398491859436,-0.001419342472218,-0.014904552139342) * MODEL11_texOff(vec2(0,1));
res += mat4(0.006262990646064,-0.070909991860390,-0.056411109864712,-0.023628374561667,0.006750542204827,0.063193798065186,0.014680309221148,0.003257086966187,-0.017859509214759,0.049254540354013,-0.015934381633997,-0.186792060732841,-0.116370551288128,-0.015667190775275,0.029223078861833,-0.047667663544416) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.049706269055605,0.067604191601276,0.034459691494703,-0.056821435689926,0.061940755695105,-0.074378855526447,0.050835378468037,0.000780900591053,-0.044552985578775,0.096726998686790,0.051568746566772,-0.023291716352105,-0.292596727609634,0.069394707679749,0.072762638330460,0.066478468477726) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.114177361130714,0.102692410349846,0.054785396903753,0.075267851352692,-0.067291930317879,0.010566824115813,0.108868993818760,0.025737522169948,-0.018775204196572,0.033306963741779,0.013345593586564,-0.139050766825676,-0.111381560564041,0.023616295307875,-0.057849071919918,-0.027227211743593) * MODEL11_texOff(vec2(1,1));
res += mat4(0.101689852774143,-0.137913718819618,0.119907036423683,-0.108449541032314,-0.060677241533995,0.070034787058830,0.052401807159185,0.291814506053925,0.087101198732853,0.015916032716632,-0.109453283250332,0.046992760151625,-0.060321677476168,-0.041376903653145,-0.072951734066010,0.026156188920140) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.016051921993494,0.005855505820364,0.032803326845169,-0.198168829083443,-0.003797447076067,0.008652327582240,0.046749845147133,-0.069625720381737,0.036604430526495,0.090599648654461,-0.041279327124357,0.089876793324947,0.029005942866206,-0.009916937910020,-0.060618825256824,-0.033180892467499) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.043809968978167,0.026831233873963,-0.056692969053984,0.219932720065117,-0.103061527013779,0.007129432633519,0.050374928861856,0.106558427214622,-0.096987158060074,0.083557091653347,0.004298462066799,0.076369605958462,-0.007555286865681,0.042288091033697,-0.083258710801601,-0.061850011348724) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.075884908437729,-0.027062678709626,0.115088626742363,0.039072774350643,0.030368935316801,0.053427416831255,0.008399421349168,0.141863808035851,0.070046707987785,0.050699993968010,-0.093746565282345,-0.132164105772972,-0.015897780656815,0.059598680585623,0.070739984512329,-0.142107307910919) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.241806104779243,-0.037184096872807,0.024028817191720,0.076643534004688,0.034224554896355,-0.094960555434227,-0.076099984347820,-0.098988391458988,0.103573933243752,-0.008660503663123,0.146228164434433,0.073113113641739,0.061410311609507,0.032540947198868,-0.138287603855133,-0.108523629605770) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.276887506246567,-0.056042566895485,-0.150603234767914,0.019301971420646,0.138227969408035,-0.012994680553675,-0.065538562834263,0.028293959796429,-0.036202743649483,-0.078576155006886,-0.018322026357055,0.018669726327062,-0.021141767501831,0.026705561205745,-0.062023296952248,-0.124541603028774) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.080347955226898,-0.030254531651735,-0.042631443589926,-0.006433854345232,0.030131030827761,0.059024833142757,0.019286854192615,-0.003399192588404,-0.035847321152687,-0.019364563748240,0.039596211165190,-0.131169021129608,-0.047719307243824,0.065190203487873,0.134706869721413,-0.077187903225422) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.358672797679901,-0.056721877306700,-0.119660779833794,0.173983037471771,-0.077173933386803,0.082612998783588,0.011657607741654,-0.147242248058319,-0.191563487052917,-0.010433509945869,-0.048637624830008,0.001911939121783,0.121770076453686,0.031521730124950,0.100935943424702,-0.210159823298454) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.227911829948425,-0.054768513888121,0.028455771505833,-0.206428274512291,0.110120937228203,-0.001703088171780,0.054760418832302,0.015772378072143,0.018700869753957,-0.012519252486527,0.028957342728972,0.150860309600830,-0.076579369604588,0.065822415053844,0.084068790078163,-0.041965156793594) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.053169474005699,0.233275264501572,0.262453496456146,0.006285112351179) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE1
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 4_1

vec4 hook()
{
vec4 res = vec4(-0.012268251739442,-0.376460731029510,0.307409822940826,0.057062059640884);
res += mat4(0.048126079142094,0.050080802291632,0.081609331071377,-0.092335313558578,0.103920869529247,-0.126760646700859,0.075248979032040,-0.105361796915531,-0.007540260441601,-0.092733062803745,-0.003940663766116,-0.184019014239311,0.212216421961784,-0.007648097816855,0.283078521490097,0.091930150985718) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.130650505423546,0.012958504259586,0.218613758683205,0.249644324183464,0.002316749189049,0.144374802708626,0.215735852718353,-0.157626867294312,-0.004689070396125,-0.126277357339859,-0.018902674317360,-0.021752232685685,0.218921810388565,0.083618402481079,-0.194329902529716,-0.013201384805143) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.015526848845184,0.032661318778992,-0.011417109519243,0.103464670479298,-0.061539456248283,0.075607851147652,0.064127013087273,0.127256780862808,-0.006592124234885,0.042890857905149,0.021786695346236,0.041310366243124,0.156710848212242,0.071885362267494,-0.008245461620390,0.085926510393620) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.127236053347588,-0.064120694994926,-0.292344301939011,0.154798969626427,-0.158155351877213,0.158223524689674,0.121639579534531,0.049950018525124,0.147882148623466,0.017556183040142,-0.042597789317369,0.036021698266268,0.215003415942192,-0.052064023911953,0.058973159641027,0.059530440717936) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.169725954532623,-0.071353882551193,-0.022167520597577,0.106082379817963,0.152910187840462,0.137180879712105,0.093111388385296,-0.014665964990854,-0.129183262586594,0.328291922807693,0.214186757802963,0.005040057003498,0.155665129423141,0.099909752607346,-0.222832858562469,0.043121982365847) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.037031263113022,0.026486091315746,-0.185833603143692,-0.116918995976448,0.081289201974869,0.079938031733036,0.341098129749298,-0.012191029265523,0.058264039456844,0.100987128913403,-0.153336331248283,0.001039232825860,0.210783034563065,0.064793229103088,0.060921479016542,0.007074289489537) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.041779056191444,0.044726524502039,0.000336693308782,-0.037549499422312,0.116917796432972,0.002048800233752,0.083849467337132,-0.198066353797913,0.086074635386467,-0.057323157787323,-0.209421485662460,-0.168022304773331,0.075255542993546,0.021563176065683,-0.066582873463631,-0.232150167226791) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.191980302333832,0.045436795800924,-0.045525386929512,-0.077663674950600,-0.006649813149124,0.025534600019455,-0.130677133798599,-0.096174389123917,0.185063600540161,0.333364397287369,-0.028508454561234,-0.274499893188477,0.219194650650024,0.156296044588089,-0.075747027993202,-0.100774422287941) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.142934367060661,0.119464553892612,-0.061652626842260,0.171711400151253,-0.034816235303879,0.107464283704758,0.329538017511368,-0.033702474087477,-0.001786667271517,0.290213674306870,0.039833702147007,0.054264046251774,0.256072878837585,0.058828707784414,0.209505319595337,-0.101595304906368) * MODEL1_texOff(vec2(1,1));
res += mat4(0.032618243247271,0.063737370073795,0.069192476570606,-0.001115306979045,0.062286373227835,0.012613048776984,0.125106349587440,0.270164608955383,-0.192935571074486,0.015161584131420,-0.049706414341927,0.127963915467262,-0.187088325619698,0.046771898865700,-0.235625699162483,-0.031514562666416) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.021965313702822,-0.005555956158787,0.027918748557568,0.057641714811325,0.100846916437149,0.129768788814545,-0.073801122605801,0.168413192033768,0.084749750792980,-0.006837739609182,-0.209365218877792,-0.115351207554340,0.120524331927299,0.081933632493019,-0.262992292642593,-0.081123612821102) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.055638045072556,0.018082218244672,0.113191068172455,-0.043522380292416,0.013486079871655,0.034542985260487,-0.329474508762360,0.231181547045708,0.018010556697845,-0.007409809157252,-0.173318162560463,-0.132054463028908,0.004841750487685,0.264504760503769,-0.011113365180790,-0.080895699560642) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.115831203758717,-0.055756364017725,0.041580956429243,-0.009208398871124,0.007593207061291,0.129819035530090,0.094164751470089,-0.147061556577682,-0.074129790067673,0.170583099126816,0.252719044685364,0.033765379339457,-0.023370638489723,0.013752534054220,-0.162859499454498,-0.228572025895119) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.140256181359291,-0.107160277664661,0.180093988776207,-0.156673416495323,0.061818540096283,0.081125341355801,-0.512098073959351,-0.044006470590830,-0.084312766790390,0.006605232134461,0.053094524890184,-0.099107563495636,-0.202199012041092,-0.098075628280640,-0.148680031299591,0.023509841412306) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.105277910828590,-0.086846262216568,0.059425715357065,-0.059517968446016,0.099713526666164,0.101922452449799,-0.364003568887711,0.189612314105034,0.124625265598297,-0.080100707709789,-0.225413978099823,-0.065088987350464,-0.131999135017395,0.074802093207836,-0.096595391631126,-0.062210448086262) * MODEL2_texOff(vec2(0,1));
res += mat4(0.001647378434427,0.056940454989672,-0.007618223316967,-0.097482234239578,0.057343523949385,-0.025348884984851,-0.174579292535782,-0.135129988193512,0.098475866019726,0.018393408507109,0.112134702503681,0.129411503672600,0.019221983850002,-0.007523992098868,0.077769055962563,-0.220067858695984) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.061045154929161,-0.164571017026901,-0.057778924703598,-0.007939276285470,-0.059078820049763,0.117748670279980,-0.596398115158081,-0.166002899408340,0.005615279078484,0.027233224362135,-0.040013857185841,0.090375952422619,-0.109274029731750,0.117568306624889,-0.056929726153612,-0.190218761563301) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.069632142782211,-0.121923670172691,0.116480991244316,0.073271036148071,0.066283911466599,0.049660433083773,-0.122882679104805,-0.168024331331253,-0.081605464220047,0.021631801500916,-0.029807543382049,0.175462380051613,-0.078585989773273,0.024368880316615,-0.215527504682541,-0.202523022890091) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.118771016597748,-0.059287101030350,-0.194302216172218,-0.045730717480183,-0.045720133930445,-0.049150485545397,0.074816979467869,-0.010376336053014,0.151949837803841,-0.033463455736637,0.127016842365265,0.068463213741779,0.083087712526321,-0.044344600290060,-0.005456760060042,0.117775045335293) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.430604726076126,-0.070942267775536,-0.320929616689682,0.132681354880333,-0.062003169208765,-0.222469702363014,0.014921322464943,-0.021188911050558,0.121483385562897,0.003471427131444,-0.217300415039063,0.053436808288097,-0.172932595014572,0.028415298089385,0.237166672945023,-0.228067159652710) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.337641626596451,0.013270610943437,-0.305103898048401,0.146449223160744,-0.107031174004078,-0.197678372263908,0.206455171108246,-0.003196906065568,0.124901294708252,-0.009433921426535,-0.124040052294731,0.038036990910769,-0.072938568890095,0.002007185248658,0.081231847405434,0.120449513196945) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.132824167609215,-0.102154619991779,-0.535707890987396,-0.162842333316803,-0.103195853531361,-0.207082718610764,-0.032854102551937,-0.071572564542294,-0.075283743441105,-0.002085851971060,-0.012354476377368,-0.186674505472183,0.023668840527534,0.048587374389172,-0.180648580193520,-0.196417480707169) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.391260504722595,0.133687213063240,-0.671987056732178,-0.212143853306770,-0.221637487411499,-0.190698996186256,-0.033106442540884,-0.099590472877026,0.028344243764877,0.178740635514259,-0.044808939099312,-0.147541716694832,0.309820711612701,-0.012046274729073,-0.135282173752785,-0.128714233636856) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.393573969602585,-0.121646039187908,-0.396174669265747,0.154219150543213,-0.073657937347889,-0.137647047638893,-0.020398128777742,0.069568954408169,-0.024422669783235,0.195116966962814,0.044929947704077,0.031081397086382,-0.086016550660133,-0.229092568159103,0.080278404057026,0.245778933167458) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.287283033132553,-0.055371645838022,-0.200216308236122,-0.103848308324814,0.016837313771248,-0.029273232445121,-0.058227326720953,-0.000237290078076,-0.100262984633446,0.030831011012197,0.050748035311699,0.043062586337328,-0.074028760194778,0.065531164407730,0.022505477070808,0.113586656749249) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.328442454338074,0.094129286706448,-0.450115293264389,-0.224254027009010,0.011723334901035,-0.056968461722136,0.053867060691118,-0.098364368081093,-0.154459670186043,-0.024299608543515,-0.024797365069389,0.199254572391510,0.167149692773819,-0.133676454424858,0.006571669131517,0.003299005562440) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.177319034934044,0.026236189529300,-0.282557845115662,-0.173501059412956,-0.048763550817966,-0.101249784231186,0.143986105918884,-0.171398416161537,0.222028851509094,-0.011304706335068,0.052893657237291,0.100896343588829,-0.026118289679289,-0.160117283463478,-0.088813722133636,-0.005851096473634) * MODEL3_texOff(vec2(1,1));
res += mat4(0.110071696341038,0.011723930016160,0.229552373290062,0.027424832805991,0.027339505031705,-0.222963556647301,-0.003818255383521,-0.061729859560728,0.188016548752785,0.058759253472090,-0.134314611554146,-0.002267236355692,-0.068869605660439,0.091052159667015,0.360809534788132,-0.057418722659349) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.055843111127615,0.135369285941124,0.123460479080677,0.046185821294785,0.157803848385811,-0.130871579051018,-0.146441012620926,-0.075873658061028,0.028600072488189,-0.055863663554192,0.115382954478264,0.219802215695381,0.023689450696111,0.018325831741095,0.067004144191742,0.164800956845284) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.007702996022999,-0.026257161051035,-0.042921617627144,-0.010505451820791,-0.007404850795865,-0.013028883375227,-0.097766324877739,-0.086601063609123,-0.067442715167999,0.010229623876512,0.087631493806839,0.070079974830151,-0.013812938705087,0.005477000027895,0.005301974248141,0.124068707227707) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.045824337750673,-0.026649288833141,0.286668211221695,0.032222032546997,-0.095400534570217,-0.116801232099533,0.319767147302628,-0.093772351741791,0.025889417156577,-0.017177019268274,0.020132975652814,-0.259495645761490,-0.031237414106727,0.029280414804816,0.199804723262787,-0.115535102784634) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.162950798869133,0.060654394328594,-0.034975867718458,-0.030302373692393,-0.030680863186717,-0.146180048584938,-0.029014913365245,0.203907668590546,0.071997471153736,0.118759684264660,-0.208813086152077,-0.201529175043106,0.017078617587686,0.022275507450104,-0.033530902117491,0.279271841049194) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.013252663426101,-0.055150169879198,0.049914661794901,0.007108711637557,0.275310665369034,0.013887540437281,-0.078831724822521,-0.288800269365311,-0.179341018199921,0.232921302318573,0.131025493144989,-0.002961206948385,0.010930879972875,0.084453009068966,0.025039717555046,0.129689246416092) * MODEL4_texOff(vec2(0,1));
res += mat4(0.053464755415916,-0.048750948160887,-0.037685677409172,0.100660026073456,0.179147094488144,0.039276964962482,0.094313561916351,-0.046733275055885,-0.041919462382793,0.058446127921343,-0.182690367102623,-0.279966533184052,0.021718982607126,0.092732757329941,0.097528256475925,-0.078134074807167) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.061968274414539,0.136721193790436,0.200260147452354,0.011533625423908,0.025615150108933,-0.068849727511406,-0.109641082584858,0.145297110080719,-0.020975681021810,0.100035026669502,0.115735970437527,-0.021098261699080,-0.160600036382675,0.085661210119724,0.021925775334239,-0.079704314470291) * MODEL4_texOff(vec2(1,0));
res += mat4(0.030116487294436,-0.006432961206883,-0.062622025609016,0.013586509972811,0.131123989820480,0.035290375351906,-0.050760533660650,0.090347349643707,-0.039086259901524,0.116572111845016,0.054611410945654,-0.072892226278782,0.163165241479874,0.032530579715967,0.085656262934208,0.094837538897991) * MODEL4_texOff(vec2(1,1));
res += mat4(0.120504640042782,0.088117182254791,0.136341422796249,-0.083998747169971,-0.132483094930649,-0.008205975405872,-0.007341484073550,0.074550531804562,0.252337336540222,0.142532840371132,0.133877575397491,-0.138644263148308,-0.212530568242073,-0.001429881667718,-0.260458439588547,-0.158341169357300) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.217542722821236,0.003536522854120,-0.005910162348300,-0.033405970782042,-0.076180070638657,-0.006533063016832,-0.017431033775210,-0.078211218118668,-0.115350529551506,-0.013817137107253,0.259413510560989,-0.047894090414047,-0.138515129685402,0.071098633110523,-0.507385611534119,0.037097521126270) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.059937946498394,0.014809168875217,0.207355067133904,0.243623018264771,0.070174254477024,0.026947800070047,-0.077591165900230,0.113269604742527,0.042314507067204,-0.009900725446641,0.167461067438126,0.034948900341988,-0.200018286705017,0.046282213181257,0.160373732447624,-0.051735356450081) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.138468682765961,0.105554223060608,-0.021367393434048,-0.152576431632042,-0.021425100043416,-0.032383430749178,0.071742862462997,0.010041391476989,-0.050987508147955,-0.150567024946213,0.030975105240941,-0.195921808481216,-0.175328820943832,-0.067727968096733,-0.304566502571106,-0.161499246954918) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.061150643974543,0.069199062883854,-0.012052194215357,-0.279180943965912,-0.118587806820869,0.127192586660385,-0.232612997293472,0.038405075669289,-0.013516469858587,0.129239767789841,-0.093826241791248,0.188061207532883,-0.324308782815933,-0.016477385535836,-0.742153286933899,-0.062507309019566) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.180890262126923,-0.026370292529464,-0.164564862847328,-0.259850293397903,0.170029625296593,0.102758601307869,-0.002125222003087,-0.128631904721260,-0.027469864115119,-0.042516227811575,-0.077763631939888,-0.029832117259502,-0.052751615643501,0.168207690119743,-0.277157515287399,-0.119340531527996) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.097916327416897,0.082536429166794,-0.039362948387861,-0.309360831975937,0.020815467461944,-0.015811020508409,-0.156383603811264,0.001412995508872,0.073054522275925,0.082313992083073,0.073267184197903,-0.175562724471092,-0.140964940190315,-0.024125933647156,-0.190501138567924,-0.166971281170845) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.062769629061222,0.089252024888992,0.062408532947302,-0.251649200916290,0.033811159431934,0.154308885335922,0.009267125278711,0.033926427364349,0.176098331809044,-0.019855994731188,-0.043025184422731,-0.080334112048149,-0.319333225488663,0.083950877189636,-0.360703617334366,-0.204012498259544) * MODEL5_texOff(vec2(1,0));
res += mat4(0.190369278192520,-0.025203403085470,0.232785329222679,-0.170321851968765,0.074843429028988,0.050001692026854,-0.041897986084223,0.022742500528693,-0.105059981346130,-0.063879229128361,0.142365425825119,-0.050875861197710,-0.147089049220085,0.077515572309494,-0.008011912927032,0.124730490148067) * MODEL5_texOff(vec2(1,1));
res += mat4(0.120880298316479,0.033940661698580,0.137906119227409,0.059275411069393,-0.036342572420835,0.016204206272960,0.011149996891618,-0.000017214548279,-0.089705161750317,0.095616050064564,-0.171200513839722,-0.267795383930206,0.054556738585234,0.060822688043118,0.039902269840240,0.255861580371857) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.019740818068385,-0.047225032001734,0.004044489935040,-0.024069918319583,-0.076737232506275,0.038000416010618,0.001242373487912,0.119895450770855,-0.035299152135849,-0.110012687742710,-0.197720631957054,-0.118997529149055,-0.030313791707158,0.053294979035854,-0.140675455331802,0.389410555362701) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.204417854547501,0.031456992030144,-0.111693613231182,0.110925659537315,0.002837470034137,0.016565481200814,-0.010801851749420,0.100731536746025,0.109390914440155,-0.120434626936913,0.013581139035523,-0.051479063928127,-0.229922190308571,0.016411744058132,-0.317668378353119,0.251447349786758) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.075419798493385,0.105616867542267,0.092114053666592,-0.096232980489731,0.011783097870648,-0.120664127171040,-0.467899590730667,-0.004062335472554,-0.041120517998934,0.144360095262527,0.084609128534794,-0.384226173162460,-0.081986300647259,-0.009943074546754,0.101301901042461,0.118397399783134) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.199942052364349,-0.050755288451910,-0.243642047047615,-0.095762014389038,-0.069425597786903,0.109678678214550,-0.099287331104279,-0.068100117146969,0.070400841534138,-0.283785074949265,-0.240792050957680,-0.066993221640587,0.069641128182411,0.036825112998486,-0.093139141798019,0.226346701383591) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.163801044225693,-0.047968719154596,-0.049124993383884,0.187743082642555,-0.050425473600626,-0.068512745201588,0.086213201284409,0.110025346279144,0.138434961438179,-0.096342027187347,0.205874398350716,0.160892292857170,0.023186421021819,0.004751973319799,-0.039739046245813,0.059493165463209) * MODEL6_texOff(vec2(0,1));
res += mat4(0.104510448873043,-0.114340268075466,-0.015943534672260,0.070787176489830,0.020442709326744,0.065470248460770,-0.388534843921661,-0.300047188997269,-0.067171052098274,0.186367109417915,-0.040578205138445,-0.222851976752281,-0.089497298002243,-0.023036334663630,0.111439205706120,0.221116542816162) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.248469516634941,-0.015878453850746,0.049414224922657,-0.110104307532310,0.058226160705090,0.305477231740952,0.061818685382605,-0.156261309981346,0.022029636427760,-0.170937582850456,0.097576282918453,0.106840126216412,0.013671429827809,0.086751528084278,-0.184333026409149,0.039875593036413) * MODEL6_texOff(vec2(1,0));
res += mat4(0.075850225985050,0.130603194236755,-0.053051173686981,-0.054909046739340,0.019489640370011,0.071008250117302,0.113069042563438,-0.046470694243908,0.072684451937675,-0.173334032297134,0.136413708329201,-0.011590199545026,0.162412241101265,0.027029491961002,-0.134337261319160,0.224130183458328) * MODEL6_texOff(vec2(1,1));
res += FEATURE1_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.104071959853172,0.004102019593120,0.105731382966042,0.203285232186317) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE2
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 4_2

vec4 hook()
{
vec4 res = vec4(0.018250718712807,0.220126777887344,0.098116494715214,-0.012172091752291);
res += mat4(0.170534431934357,-0.057462841272354,0.075478434562683,-0.114388823509216,0.046423785388470,-0.109057135879993,0.039592526853085,-0.138059139251709,0.118887096643448,0.043414540588856,0.018867997452617,0.110180079936981,0.045357096940279,-0.049251478165388,0.088779628276825,0.152513831853867) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.091332763433456,-0.201759740710258,0.015373878180981,-0.116772383451462,0.099233858287334,-0.112678453326225,-0.103775575757027,0.125958994030952,0.072162315249443,-0.209328576922417,0.032014526426792,-0.141456931829453,0.145270079374313,-0.192571744322777,0.011095921508968,0.097077555954456) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.216714546084404,0.066164329648018,-0.032894913107157,0.108440600335598,0.162370532751083,-0.050143383443356,-0.062113389372826,0.349566370248795,0.010309799574316,0.030413648113608,-0.017183978110552,0.000025529618142,0.199056640267372,-0.129589110612869,-0.002400476252660,0.167301252484322) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.010692293755710,0.250465720891953,-0.168193742632866,-0.214690253138542,-0.112572424113750,0.150472775101662,-0.025211151689291,-0.150002092123032,0.076031886041164,-0.032637361437082,0.163787826895714,-0.134341254830360,-0.087829202413559,-0.239452332258224,-0.026356272399426,-0.055768348276615) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.091336406767368,0.296436786651611,0.151661962270737,-0.039978496730328,0.083564110100269,-0.104253806173801,0.029023500159383,-0.247072711586952,-0.058873526751995,-0.082886420190334,0.025214668363333,-0.158764690160751,-0.011424552649260,-0.229527011513710,-0.068817377090454,-0.013901250436902) * MODEL1_texOff(vec2(0,0));
res += mat4(0.053713846951723,0.100168772041798,-0.031241234391928,0.191341206431389,0.174723908305168,0.074605315923691,0.089939139783382,0.162377372384071,-0.093987576663494,-0.212468922138214,0.088251478970051,0.089895829558372,0.092370361089706,-0.040169078856707,0.077752970159054,0.153844565153122) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.053704719990492,0.254351437091827,-0.026962537318468,-0.159272655844688,0.079597227275372,0.096481874585152,0.028823342174292,0.009151521138847,-0.142693042755127,0.219920977950096,0.043199464678764,-0.004971629474312,-0.080749496817589,0.047104731202126,0.001681661931798,0.082023985683918) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.141117557883263,-0.326197922229767,-0.068093612790108,0.253428459167480,-0.046630147844553,0.113996855914593,-0.053964350372553,0.021514380350709,-0.170912235975266,-0.102949500083923,-0.029393889009953,0.213668718934059,0.042383216321468,0.045413501560688,0.020999217405915,0.425690054893494) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.059532150626183,-0.026021689176559,-0.161080121994019,-0.360000431537628,-0.147192463278770,0.151084676384926,-0.086961448192596,-0.060552563518286,-0.043463952839375,0.020758876577020,-0.044696662575006,-0.425951659679413,0.125870764255524,0.052238967269659,-0.014094939455390,0.278712302446365) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.054940264672041,-0.038083486258984,-0.010831980034709,0.007883262820542,-0.111528590321541,0.004075212869793,-0.032515782862902,0.048817802220583,-0.153433069586754,0.065205574035645,-0.048132732510567,-0.072361119091511,-0.067562982439995,0.297915339469910,-0.128965318202972,0.067953325808048) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.008689409121871,-0.011532455682755,0.055025272071362,0.031865190714598,-0.002895036712289,-0.284588873386383,-0.142290711402893,0.054450280964375,0.038822375237942,0.153019562363625,0.100442215800285,-0.028154777362943,0.235266774892807,0.288518726825714,-0.097701326012611,0.005804824642837) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.056080866605043,0.159091055393219,0.024884417653084,0.024705756455660,0.117992691695690,-0.376751273870468,-0.073742456734180,0.031534601002932,-0.053143497556448,-0.136058121919632,-0.073239989578724,-0.114735640585423,-0.029473174363375,-0.027121955528855,0.009396038949490,0.018846338614821) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.016812790185213,-0.063451156020164,0.006165422964841,-0.023110432550311,-0.279102355241776,-0.097533553838730,-0.114536136388779,0.239505961537361,-0.178247928619385,-0.061859834939241,0.109534874558449,0.030439637601376,-0.056983388960361,-0.040368821471930,-0.041910052299500,-0.017157586291432) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.119495525956154,0.199044302105904,0.152143299579620,-0.045002777129412,-0.099409304559231,-0.784817337989807,-0.179283216595650,0.076744370162487,-0.023309955373406,0.032859925180674,-0.039801500737667,0.020100286230445,-0.189552426338196,-0.056005198508501,0.091085717082024,0.009283604100347) * MODEL2_texOff(vec2(0,0));
res += mat4(0.171756044030190,0.053449645638466,0.079090632498264,0.270361632108688,-0.028814110904932,-0.617619693279266,-0.076416105031967,0.090989433228970,-0.003907416481525,-0.025429416447878,0.133551150560379,0.094805382192135,0.023392703384161,-0.091196484863758,0.007154969498515,-0.048739861696959) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.103097848594189,0.064085431396961,-0.045804426074028,0.065564408898354,-0.057445321232080,-0.045373115688562,-0.063479483127594,-0.107707031071186,0.035662591457367,-0.073753587901592,0.002823788672686,-0.039057739078999,0.091670870780945,0.103358775377274,-0.025762751698494,-0.022465722635388) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.058755770325661,-0.093885116279125,-0.011632767505944,-0.084843091666698,0.002120952587575,-0.156878471374512,-0.078782200813293,0.093188770115376,-0.097336567938328,-0.066121518611908,0.110519275069237,0.099069148302078,-0.067780576646328,0.080479033291340,-0.137384936213493,0.070211820304394) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.035949766635895,0.137475982308388,0.124219022691250,0.082392022013664,0.006975125987083,-0.233554571866989,0.039745602756739,0.011691395193338,-0.178602933883667,-0.146424859762192,0.014073544181883,-0.065916344523430,-0.152432098984718,0.009336121380329,-0.227079540491104,0.007836678996682) * MODEL2_texOff(vec2(1,1));
res += mat4(0.033418394625187,-0.207005515694618,0.005687294527888,-0.221286758780479,0.025362335145473,0.177789226174355,0.015568864531815,-0.034575648605824,0.044798042625189,-0.123196102678776,-0.030007239431143,-0.096696346998215,0.145125195384026,0.040196493268013,-0.081874489784241,-0.217659458518028) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.011912917718291,-0.155292913317680,-0.093199394643307,-0.226686373353004,0.074867837131023,0.049094036221504,0.014858827926219,0.147723257541656,0.017930736765265,0.189867451786995,0.073298797011375,0.027302967384458,-0.124728046357632,0.013349051587284,-0.001220288686454,0.582257568836212) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.115003921091557,-0.021679343655705,-0.020119631662965,-0.499700754880905,0.085846178233624,0.069060660898685,0.038078129291534,-0.128796815872192,0.113293789327145,0.162256762385368,-0.000252157071372,-0.154856875538826,-0.049762211740017,0.041678652167320,-0.007388447877020,-0.244087338447571) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.067545689642429,-0.083589494228363,-0.069018065929413,-0.315375447273254,-0.068248681724072,0.011110077612102,0.014026400633156,-0.093494914472103,-0.217670634388924,0.179479852318764,0.120902158319950,-0.084514260292053,-0.022401111200452,0.253469675779343,-0.148853704333305,0.136281207203865) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.170448035001755,-0.252001285552979,-0.109050013124943,-0.105073682963848,0.026433065533638,0.095666050910950,0.091795623302460,0.060252010822296,0.088216505944729,0.057857155799866,-0.006168578285724,-0.062895700335503,0.097198843955994,-0.310063004493713,0.080665357410908,0.234027490019798) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.103964678943157,-0.133041158318520,0.013932281173766,-0.444082289934158,0.073748223483562,-0.010624477639794,0.027253950014710,-0.167807206511497,0.253006100654602,-0.075426943600178,-0.000001518608769,0.284553200006485,-0.333093553781509,-0.029761716723442,-0.258237034082413,-0.439152866601944) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.042612910270691,0.019411275163293,-0.034432064741850,-0.253490567207336,-0.015850199386477,-0.026807917281985,0.061914071440697,-0.134669482707977,0.022192819043994,-0.047459147870541,-0.094009391963482,0.190847799181938,0.057343345135450,-0.164513632655144,0.019117178395391,0.083311140537262) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.035634044557810,0.065889291465282,-0.037673667073250,-0.217111259698868,-0.028452461585402,0.038804303854704,-0.010808973573148,-0.005809140857309,0.082044191658497,-0.088115401566029,0.170868054032326,-0.204460605978966,-0.001426972448826,0.113829225301743,0.037568397819996,-0.090525932610035) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.131120339035988,-0.073383301496506,0.005434364080429,-0.166385859251022,0.131088867783546,0.051840327680111,0.069569259881973,0.059935431927443,0.191993281245232,0.021479193121195,0.117673337459564,0.043569736182690,0.149444386363029,-0.043856281787157,0.019417718052864,0.000362893595593) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.071572571992874,-0.029140552505851,-0.054446030408144,0.057911500334740,-0.005542896687984,0.008247938938439,-0.001227207714692,0.104859247803688,-0.025848891586065,0.003417027415708,-0.045851893723011,-0.028726486489177,-0.051636043936014,0.096419744193554,0.022130811586976,-0.027760157361627) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.113407172262669,0.056888155639172,-0.054985798895359,-0.195138931274414,0.110336929559708,-0.021780807524920,-0.001039026305079,-0.059595212340355,0.015302039682865,0.093237437307835,-0.083482347428799,-0.133539795875549,0.078237317502499,-0.139857515692711,0.067626290023327,-0.055920027196407) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.127424150705338,-0.027028692886233,-0.089883975684643,-0.071500837802887,-0.050836019217968,0.051134735345840,-0.070885226130486,0.214190170168877,0.126082330942154,0.005952783394605,0.008758729323745,0.227082207798958,0.018827470019460,0.013711355626583,-0.068934828042984,0.092557661235332) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.016402872279286,0.136015310883522,0.077816337347031,-0.117824614048004,-0.046629805117846,-0.266611814498901,-0.004544195719063,0.240119948983192,-0.019638840109110,0.127300247550011,-0.111093550920486,0.155132502317429,0.201600879430771,-0.105424202978611,-0.035548627376556,-0.064316101372242) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.164783015847206,0.048810083419085,-0.101180963218212,0.075384140014648,0.251107156276703,-0.343584388494492,-0.068452805280685,-0.476601243019104,0.058107860386372,-0.094431079924107,0.121199935674667,0.084233060479164,-0.084038801491261,-0.053684618324041,-0.097411572933197,-0.109313927590847) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.006828800309449,0.020411003381014,-0.017538774758577,-0.101054556667805,0.074182286858559,-0.134823903441429,-0.003325986443087,0.323866307735443,-0.006192172877491,0.044313434511423,-0.129161745309830,-0.101776294410229,-0.114625796675682,0.109129883348942,-0.101151965558529,0.113426379859447) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.061986014246941,0.026673220098019,-0.001258849981241,-0.109156534075737,0.013859660364687,0.152221068739891,0.001043882570229,0.040854483842850,0.046660467982292,-0.057585481554270,0.021678507328033,0.132272422313690,-0.064455643296242,0.126142591238022,-0.075129196047783,-0.011516553349793) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.180592343211174,-0.058652412146330,0.019870700314641,0.014171342365444,-0.324362069368362,-0.188041478395462,0.149099543690681,-0.156427130103111,-0.185820579528809,0.070620134472847,-0.151260226964951,-0.018608445301652,0.000387024774682,0.002700088080019,-0.138052195310593,-0.108570896089077) * MODEL4_texOff(vec2(1,0));
res += mat4(0.007337039802223,-0.057372730225325,0.237553015351295,0.167952150106430,-0.108898326754570,-0.057174537330866,-0.000636135286186,-0.071064166724682,-0.008051072247326,-0.166188880801201,0.097913287580013,-0.277619421482086,0.011964719742537,0.125690221786499,-0.061378497630358,0.154388651251793) * MODEL4_texOff(vec2(1,1));
res += mat4(0.020879656076431,0.071273125708103,-0.054731834679842,0.008861828595400,-0.042149651795626,0.000661662546918,-0.025311762467027,-0.006079590879381,-0.045852147042751,-0.026672413572669,0.007062627933919,0.068422943353653,-0.274603635072708,-0.164339452981949,-0.040356520563364,-0.201218381524086) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.023613080382347,0.009296200238168,0.099591702222824,0.010105216875672,-0.011546639725566,-0.021929150447249,0.036749396473169,0.041432276368141,-0.090467751026154,0.158427163958549,-0.013313596136868,0.012221762910485,0.157116785645485,-0.262508988380432,0.053479038178921,-0.293766587972641) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.175599321722984,-0.063266173005104,-0.130918160080910,-0.244212344288826,0.047452479600906,0.029128657653928,-0.022591849789023,-0.100794777274132,0.072625294327736,0.002221516333520,0.037865985184908,0.040226623415947,-0.162269249558449,-0.071683079004288,0.063288599252701,-0.105294436216354) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.214101448655128,0.102726817131042,-0.069372266530991,0.011250047013164,-0.005072464235127,-0.049849361181259,-0.028312364593148,0.097633995115757,-0.010976118966937,0.099425122141838,0.017684252932668,0.113729000091553,-0.124492265284061,-0.325025677680969,0.053863786160946,0.160421699285507) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.284396469593048,0.132529243826866,-0.235476508736610,0.180343091487885,-0.018131818622351,-0.052192185074091,0.076927714049816,-0.131406635046005,0.015781432390213,-0.188862472772598,0.110084481537342,-0.130328372120857,0.209524989128113,-0.310567229986191,0.055759556591511,-0.190068453550339) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.021208176389337,-0.178652673959732,-0.169654920697212,0.151828140020370,-0.050516400486231,0.038141716271639,-0.013285099528730,-0.061604816466570,0.152334854006767,-0.043118756264448,0.020696764811873,0.021970007568598,0.222526311874390,-0.183759078383446,-0.132765978574753,0.058613948523998) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.223151206970215,-0.004004634916782,0.025309860706329,0.054707102477551,-0.105245806276798,0.132636234164238,-0.004211396910250,0.120948612689972,-0.002946291118860,0.018014729022980,0.029721084982157,0.114412419497967,-0.082807824015617,-0.004974194336683,0.093518681824207,-0.068458482623100) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.152562394738197,-0.057213522493839,0.077778249979019,0.005388856399804,0.046430807560682,0.025610500946641,0.127594396471977,0.084555514156818,-0.113941520452499,0.022960821166635,0.033323552459478,-0.137969300150871,-0.126501560211182,-0.252723515033722,0.073400862514973,-0.312900811433792) * MODEL5_texOff(vec2(1,0));
res += mat4(0.048482690006495,0.018962532281876,0.042492680251598,0.097428470849991,-0.035564765334129,-0.179134741425514,0.101060904562473,0.019836368039250,-0.010148823261261,-0.096213363111019,-0.124133534729481,0.023425698280334,0.260618299245834,-0.049124065786600,-0.028863552957773,-0.278400927782059) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.058653026819229,0.044862166047096,-0.090833604335785,-0.155690804123878,0.076782308518887,-0.294747501611710,-0.068025611341000,-0.145267337560654,-0.090431146323681,0.051245596259832,-0.012100770138204,-0.047991670668125,-0.161328420042992,0.036364752799273,0.007627104409039,-0.231668680906296) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.131604835391045,0.010968584567308,0.019011894240975,0.257905751466751,0.011347143910825,-0.134479165077209,-0.132717043161392,-0.037870414555073,0.198302954435349,-0.110647909343243,0.003941619303077,-0.267880111932755,-0.090397439897060,-0.090994961559772,-0.298547744750977,-0.212023392319679) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.140268847346306,0.029230223968625,-0.032972320914268,0.180170580744743,0.041984822601080,0.148705199360847,-0.027242051437497,0.087167263031006,0.055255852639675,-0.063416019082069,-0.039567086845636,-0.113425657153130,0.009854274801910,-0.031262945383787,-0.141548067331314,0.121082164347172) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.065261930227280,0.013952679932117,0.036040894687176,0.036086842417717,-0.229303374886513,-0.123924873769283,0.008296134881675,0.062288090586662,-0.193434700369835,0.012558498419821,-0.019654419273138,0.115176215767860,-0.041533730924129,0.180556192994118,-0.133696630597115,-0.059699255973101) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.179377049207687,-0.292520880699158,0.053108535706997,-0.206615343689919,0.020816422998905,-0.136271610856056,-0.095176972448826,-0.076449304819107,-0.148136988282204,0.078358165919781,-0.191485345363617,-0.339419662952423,-0.136872515082359,-0.081363722681999,-0.165637448430061,-0.233012244105339) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.145681947469711,0.000810445111711,-0.030587438493967,-0.200919657945633,-0.015072809532285,0.123838618397713,-0.047447692602873,0.026532310992479,-0.196121767163277,0.003674834733829,0.083441510796547,-0.050740927457809,-0.079497426748276,0.011339362710714,0.088239647448063,-0.021909536793828) * MODEL6_texOff(vec2(0,1));
res += mat4(0.045461487025023,-0.137253999710083,0.000462854455691,0.097371645271778,-0.165259644389153,0.110428899526596,-0.039850365370512,0.058777596801519,0.021302441135049,-0.052450112998486,0.000419098272687,0.049285374581814,0.051758311688900,-0.094008743762970,-0.123925276100636,-0.062253423035145) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.136931553483009,-0.182665929198265,0.047046478837729,-0.091521121561527,-0.037520896643400,0.049547936767340,-0.113335467875004,0.166759520769119,-0.074045531451702,0.188900396227837,0.108318537473679,-0.113861300051212,-0.012134681455791,-0.101715914905071,-0.050302233546972,-0.063221171498299) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.079929821193218,-0.051871728152037,0.062777660787106,-0.200012609362602,0.055360991507769,0.103765182197094,-0.063199281692505,-0.015523931011558,0.060251228511333,0.237407907843590,0.000357332755812,0.267735421657562,0.047251284122467,0.062008164823055,0.117400392889977,0.061554189771414) * MODEL6_texOff(vec2(1,1));
res += FEATURE2_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.402814269065857,0.077371262013912,0.746262609958649,-0.077233463525772) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE3
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 4_3

vec4 hook()
{
vec4 res = vec4(0.087006084620953,0.009638064540923,-0.131763651967049,0.107311993837357);
res += mat4(-0.071825861930847,0.162859842181206,-0.249851971864700,-0.002145416336134,-0.024029299616814,0.058888625353575,-0.086823545396328,-0.182374253869057,-0.035829551517963,0.026141395792365,-0.060220722109079,0.111611142754555,-0.017598466947675,0.086787745356560,-0.205268800258636,-0.160334631800652) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.102353066205978,-0.065771430730820,-0.031949855387211,-0.038878321647644,0.049203768372536,0.134309127926826,-0.044219881296158,-0.023704197257757,0.250989943742752,-0.090717248618603,0.093895189464092,-0.043774913996458,0.064008839428425,0.020384456962347,0.061341352760792,-0.225441232323647) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.043648403137922,-0.063111901283264,-0.005901632364839,0.059466738253832,0.236722573637962,0.092451587319374,-0.017282640561461,0.016244713217020,0.159117087721825,0.043292302638292,0.061248481273651,0.049389578402042,0.076149173080921,0.074099421501160,-0.204082548618317,-0.005083391908556) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.162276729941368,0.077175296843052,-0.251232594251633,0.065212555229664,-0.055477533489466,-0.022673381492496,-0.037413060665131,-0.221237376332283,-0.174024909734726,0.120388075709343,-0.109613992273808,-0.074068896472454,-0.027208458632231,0.004811287391931,-0.139276117086411,-0.294511020183563) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.004260588437319,0.040473587810993,-0.445647984743118,0.366411745548248,0.040274988859892,0.021032968536019,-0.168804183602333,-0.130732387304306,0.007608804386109,-0.092315129935741,-0.309708565473557,-0.023344181478024,0.048936519771814,0.029507493600249,-0.044375013560057,-0.226182922720909) * MODEL1_texOff(vec2(0,0));
res += mat4(0.052176047116518,-0.018383666872978,0.263562440872192,-0.061030454933643,-0.101914040744305,0.068283967673779,-0.088424414396286,-0.165335983037949,0.159120142459869,-0.002531923819333,0.204037144780159,0.074850551784039,-0.041974049061537,0.141450151801109,-0.126565873622894,-0.154814407229424) * MODEL1_texOff(vec2(0,1));
res += mat4(0.125759661197662,0.006515011657029,0.134126022458076,0.047860782593489,-0.085556976497173,0.049605209380388,-0.104834914207458,-0.021808924153447,-0.102818086743355,0.036143697798252,-0.069250486791134,-0.080538794398308,-0.056249368935823,0.055957451462746,-0.030233634635806,-0.005434234626591) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.036143369972706,-0.056063372641802,-0.124325856566429,-0.099244810640812,-0.242039799690247,0.260830342769623,-0.111587420105934,-0.035077549517155,-0.069027282297611,-0.071475103497505,-0.082590229809284,-0.076610147953033,-0.074021548032761,0.026717923581600,-0.285688698291779,-0.107885465025902) * MODEL1_texOff(vec2(1,0));
res += mat4(0.079085327684879,-0.043717686086893,0.168432042002678,-0.173716157674789,0.087662726640701,0.065703995525837,0.002605600282550,-0.105756603181362,0.215100362896919,-0.005549197550863,0.015454660169780,-0.032718241214752,-0.039548158645630,0.194520518183708,0.093384020030499,-0.059274766594172) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.011455208994448,-0.082100316882133,0.060403715819120,0.137523397803307,-0.012885835953057,0.155498325824738,0.050760451704264,-0.146791338920593,-0.045763235539198,-0.066728994250298,0.037373617291451,0.133563235402107,0.124210298061371,-0.082087434828281,0.119639806449413,0.170128867030144) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.065789043903351,-0.057755816727877,0.096230894327164,-0.000419794087065,-0.020305830985308,0.147862270474434,0.116759523749352,-0.065719380974770,0.155705124139786,0.141645118594170,-0.132357493042946,-0.063121713697910,-0.084705792367458,0.112266629934311,-0.039661452174187,0.422162353992462) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.023171316832304,-0.148192614316940,0.074547901749611,0.045791104435921,-0.087460376322269,0.088527701795101,-0.073696777224541,-0.079601325094700,0.009139238856733,0.056713920086622,-0.044480953365564,-0.186950713396072,-0.056486405432224,0.106641240417957,-0.285801082849503,0.056668978184462) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.215201705694199,-0.143328860402107,0.038035847246647,0.150912776589394,-0.036158517003059,0.166036739945412,0.215381428599358,-0.049805656075478,0.159369692206383,-0.114319398999214,0.028714036568999,0.108354598283768,-0.056928638368845,0.013562904670835,0.009837116114795,0.220291256904602) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.030426278710365,-0.153801158070564,0.174035936594009,0.109376303851604,0.061355777084827,0.103313446044922,0.161680370569229,-0.127366542816162,-0.044456273317337,-0.284326136112213,-0.017454240471125,0.080748565495014,0.190892964601517,0.063962697982788,-0.172725692391396,0.319308489561081) * MODEL2_texOff(vec2(0,0));
res += mat4(0.073791459202766,-0.104241937398911,0.194509059190750,-0.008924488909543,0.085479438304901,-0.148043423891068,0.154803633689880,-0.201644971966743,-0.070493817329407,0.044141277670860,0.053240679204464,0.061037831008434,0.000158036302309,0.084121935069561,0.059867016971111,0.085350036621094) * MODEL2_texOff(vec2(0,1));
res += mat4(0.099565587937832,-0.163140848278999,0.045150056481361,0.159401819109917,-0.093752123415470,0.175811991095543,-0.009003698825836,-0.050850521773100,0.024583794176579,-0.018378220498562,0.023147424682975,0.028445864096284,0.070457555353642,-0.017562123015523,0.105659544467926,0.082527190446854) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.121964320540428,-0.298711389303207,-0.075246214866638,0.170955553650856,-0.158699154853821,0.043975837528706,0.128269478678703,-0.281186401844025,-0.163985863327980,0.054518543183804,-0.050958991050720,-0.075251735746861,-0.040055338293314,0.043190658092499,-0.013785325922072,0.028824187815189) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.036606654524803,-0.215660989284515,0.183417484164238,-0.003104999661446,-0.170500531792641,-0.007933179847896,0.004969518631697,0.025121835991740,-0.156174689531326,0.110456451773643,0.108432620763779,-0.091576300561428,0.253821074962616,0.076741233468056,-0.094862356781960,0.090446040034294) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.043969877064228,0.038594216108322,0.062652975320816,0.075120627880096,-0.013331470079720,0.090542316436768,-0.048700049519539,-0.218850150704384,-0.158460736274719,0.011594116687775,0.034951396286488,-0.244125470519066,-0.012731636874378,-0.050540793687105,-0.100462771952152,0.128530725836754) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.188148289918900,0.016742575913668,0.140490740537643,0.099022887647152,-0.031934194266796,0.051491368561983,-0.056045502424240,-0.099831618368626,-0.238489270210266,0.082291722297668,-0.004608888644725,-0.138902440667152,0.078434176743031,-0.268600910902023,-0.054343879222870,0.283123493194580) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.063952095806599,0.110647916793823,0.164485439658165,0.063971169292927,-0.057552937418222,0.081665158271790,-0.136299461126328,-0.098312206566334,-0.006843983661383,0.102649092674255,-0.237999081611633,-0.298546880483627,-0.048863537609577,0.051259614527225,0.238609030842781,0.008056976832449) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.041252024471760,-0.037677165120840,0.070254221558571,0.082569226622581,-0.179735794663429,0.063041068613529,-0.051253054291010,-0.202713474631310,0.043810531497002,-0.074651882052422,0.046823680400848,-0.277754724025726,0.027833694592118,-0.104806251823902,0.164618328213692,0.234606772661209) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.081567220389843,-0.063475333154202,0.121483542025089,0.039217565208673,0.028432084247470,-0.001677150605246,-0.022958151996136,-0.099356867372990,-0.030047290027142,-0.026431677863002,-0.047083251178265,-0.289052546024323,-0.061495672911406,0.122449852526188,0.025801556184888,-0.161579251289368) * MODEL3_texOff(vec2(0,0));
res += mat4(0.065266512334347,0.022342218086123,-0.173416823148727,0.055600713938475,-0.081589251756668,-0.023176126182079,-0.146924436092377,-0.089713439345360,0.076448597013950,0.132424905896187,-0.024318898096681,-0.239947989583015,-0.062604561448097,0.055036559700966,-0.019126022234559,0.009819355793297) * MODEL3_texOff(vec2(0,1));
res += mat4(0.084685392677784,-0.068670012056828,0.101316444575787,0.208242669701576,-0.116301640868187,0.102586381137371,-0.105708435177803,-0.149505227804184,0.155997455120087,0.040907829999924,0.087675757706165,0.017431318759918,-0.008532443083823,0.017158443108201,0.132734119892120,0.048832789063454) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.173153877258301,-0.011084754951298,0.041486170142889,0.141268461942673,-0.089288517832756,-0.001481017097831,-0.133093431591988,-0.078367479145527,-0.000650680216495,0.004645331762731,-0.072030231356621,0.143352121114731,-0.024118583649397,-0.033824022859335,-0.006532345432788,0.123707771301270) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.035208795219660,0.080290742218494,-0.010739834047854,0.110035330057144,-0.090956799685955,-0.005794484168291,-0.219023838639259,-0.077557392418385,-0.105393022298813,-0.054770812392235,-0.131344392895699,0.068527974188328,-0.193769723176956,-0.087090089917183,-0.130293875932693,-0.008499926887453) * MODEL3_texOff(vec2(1,1));
res += mat4(0.132377237081528,0.105959005653858,-0.083335705101490,-0.139068037271500,-0.020308937877417,-0.026108736172318,0.002987939398736,0.028764773160219,0.014630489051342,0.154239118099213,-0.256201952695847,-0.113937109708786,-0.092086240649223,0.045315682888031,-0.081329405307770,0.338839918375015) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.115428738296032,-0.089275136590004,0.057161908596754,-0.144814014434814,0.033839598298073,-0.011503783054650,-0.019540945068002,-0.115367516875267,0.146216645836830,0.013278304599226,-0.030775744467974,-0.015254984609783,0.005935998633504,0.178707748651505,-0.151427537202835,-0.146124765276909) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.142489567399025,0.013777952641249,0.034549314528704,-0.001366362557746,-0.187521755695343,-0.021285278722644,-0.099598966538906,-0.015477386303246,0.121954753994942,-0.008704384788871,0.038862057030201,-0.001170811941847,0.056070186197758,0.033353429287672,0.079629287123680,0.107156626880169) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.098586201667786,0.133813858032227,-0.173011109232903,-0.108326986432076,0.345449209213257,-0.154940322041512,0.015531239099801,0.130327418446541,0.020891115069389,0.020046161487699,0.006943390704691,0.093170255422592,0.009597176685929,-0.036669146269560,0.220822736620903,-0.154431328177452) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.177095830440521,-0.199497655034065,0.152466520667076,-0.150116458535194,-0.086639001965523,-0.009398090653121,0.007700013462454,-0.096950381994247,-0.091503448784351,-0.064440622925758,0.113065868616104,-0.234078451991081,-0.113055698573589,0.010636373423040,-0.115602791309357,0.003367761615664) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.016716944053769,-0.053171969950199,0.022652084007859,0.046531956642866,-0.119833409786224,-0.087155036628246,0.265391916036606,0.203986629843712,0.000558725034352,-0.061798475682735,0.008438240736723,-0.056323207914829,0.089242324233055,0.045250941067934,-0.001905914861709,0.145455271005630) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.172382593154907,0.123112976551056,-0.207293063402176,0.056276571005583,-0.097552843391895,-0.085618272423744,0.020189080387354,-0.011787877418101,-0.149485588073730,0.013963870704174,0.025936163961887,-0.075427740812302,0.045091569423676,-0.120084643363953,-0.030196595937014,0.060166601091623) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.014651325531304,-0.135044902563095,0.198530048131943,0.001707002171315,0.269413501024246,-0.125302791595459,0.093728661537170,-0.061409596353769,0.296663641929626,-0.198638990521431,0.041135475039482,-0.130507588386536,0.109461680054665,-0.053701154887676,0.061153855174780,0.170130953192711) * MODEL4_texOff(vec2(1,0));
res += mat4(0.007007489446551,0.056972764432430,0.052356567233801,0.099089473485947,0.184384614229202,-0.004530785139650,0.012340481393039,0.011218633502722,-0.011006176471710,-0.008686539717019,-0.053407821804285,0.008336714468896,0.143703296780586,-0.014458863064647,0.103554643690586,-0.006279655732214) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.054903637617826,0.049658276140690,0.123098991811275,-0.267715901136398,-0.003836137242615,-0.264907568693161,0.002344884909689,-0.078737467527390,-0.051839474588633,-0.086453743278980,-0.029715042561293,0.068308480083942,-0.126943349838257,0.010792956687510,0.042541075497866,0.090037502348423) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.130234360694885,0.116002738475800,-0.014233431778848,-0.278182476758957,-0.025696512311697,0.216351091861725,0.030493380501866,0.041367743164301,0.006957108620554,-0.195867776870728,-0.197389930486679,0.176866456866264,0.048382069915533,0.044116809964180,0.019089980050921,-0.149080038070679) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.019198775291443,0.046906042844057,-0.039179291576147,-0.359919309616089,-0.125766903162003,0.267743378877640,-0.096553280949593,0.038869693875313,0.076572477817535,-0.138803511857986,0.195059061050415,0.088126055896282,-0.110363386571407,0.015479309484363,-0.008801617659628,0.046239949762821) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.092013321816921,-0.023859402164817,0.101709142327309,-0.284151375293732,0.050462968647480,-0.340038210153580,-0.067664615809917,-0.058540482074022,0.060549207031727,-0.120898760855198,-0.004593905527145,0.119454145431519,0.063922844827175,0.021933607757092,0.098373085260391,0.089218907058239) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.050256256014109,0.135348126292229,0.224139571189880,-0.370627284049988,-0.062215711921453,0.383249998092651,0.071833670139313,0.080365970730782,-0.020435614511371,0.240658447146416,-0.057088576257229,0.075466267764568,-0.007219981867820,0.091461576521397,-0.005420755129308,-0.004096440039575) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.033580247312784,-0.024625008925796,0.017679894343019,-0.084378898143768,-0.109857767820358,0.123775549232960,-0.114440299570560,-0.076409317553043,0.185866802930832,0.043175913393497,-0.095154926180840,-0.047654207795858,-0.032060638070107,-0.107707999646664,0.069162927567959,0.012817339971662) * MODEL5_texOff(vec2(0,1));
res += mat4(0.103944368660450,-0.040065497159958,0.104641407728195,-0.056538525968790,-0.147760480642319,-0.172746941447258,0.074907466769218,0.100114442408085,-0.095310419797897,-0.039698444306850,0.041968159377575,0.098145037889481,-0.107279516756535,0.054433815181255,0.072825029492378,-0.111500725150108) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.118816472589970,0.058770243078470,0.026380471885204,-0.147384703159332,0.039184253662825,-0.195946872234344,0.001128726173192,0.008792865090072,0.043240975588560,0.184356063604355,0.220878079533577,-0.073845967650414,0.232463300228119,0.077679000794888,0.146900191903114,-0.128798112273216) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.171241894364357,0.050555005669594,-0.096712708473206,-0.148626968264580,-0.138238623738289,0.061041716486216,-0.045926216989756,-0.086209297180176,-0.039609108120203,0.280978709459305,-0.282588899135590,0.001597773865797,0.119469560682774,-0.001130576943979,0.281781554222107,0.014625185169280) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.037252932786942,-0.155525565147400,0.230205848813057,0.086063750088215,-0.182053953409195,0.146882310509682,0.142912223935127,-0.382888317108154,-0.052029062062502,0.008291483856738,0.252236008644104,0.013730039820075,0.074624828994274,0.127781003713608,-0.047106973826885,-0.142537683248520) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.155024871230125,-0.354903012514114,0.078908041119576,0.005847543478012,-0.105485253036022,0.059009511023760,-0.102924734354019,-0.225612461566925,0.078501574695110,0.165492147207260,-0.091823853552341,0.000560071493965,-0.094574593007565,0.038341924548149,0.142328605055809,0.153076902031898) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.070082068443298,-0.167370975017548,0.083921559154987,0.114232175052166,-0.039641994982958,0.113503113389015,0.030732128769159,-0.009175398387015,-0.204348519444466,0.019313596189022,-0.205679953098297,0.042921464890242,-0.119606129825115,0.089010477066040,0.109536737203598,0.035480502992868) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.069727092981339,-0.152123510837555,0.109943650662899,-0.045911014080048,-0.113616660237312,-0.009615682065487,0.018052607774734,-0.300478458404541,0.033030588179827,-0.067115932703018,0.363346964120865,-0.008850039914250,-0.002893988043070,0.143117755651474,-0.227535322308540,-0.011569160036743) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.005928906146437,0.509051501750946,-0.111587047576904,-0.119517765939236,0.019783217459917,-0.056288577616215,0.035407919436693,-0.150873288512230,-0.079704433679581,0.395375251770020,-0.233496740460396,-0.020680960267782,0.097601138055325,0.164188966155052,0.223815947771072,0.028836069628596) * MODEL6_texOff(vec2(0,0));
res += mat4(0.014329205267131,0.082214586436749,-0.023031350225210,0.088076539337635,-0.019908409565687,-0.138293176889420,-0.155983194708824,-0.012208217754960,-0.019407261162996,0.107610933482647,-0.226428598165512,-0.078888811171055,-0.113716438412666,0.099518798291683,-0.052425857633352,-0.037426032125950) * MODEL6_texOff(vec2(0,1));
res += mat4(0.050780918449163,-0.090219393372536,0.035934027284384,0.103090308606625,-0.155038744211197,0.063516445457935,-0.039313614368439,-0.011544232256711,-0.053920216858387,0.000566639588214,0.130829900503159,0.044326853007078,0.004175504203886,0.075715102255344,-0.189054369926453,0.073129482567310) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.060642618685961,0.100467324256897,-0.287771552801132,0.084132991731167,0.040283627808094,0.058837834745646,-0.136415258049965,0.152464374899864,0.152583539485931,-0.149485170841217,-0.071787334978580,0.190052881836891,0.076713100075722,-0.049518227577209,-0.006819174624979,-0.027598539367318) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.030280286446214,0.075342185795307,-0.117369726300240,-0.115662641823292,-0.029660457745194,0.061517033725977,0.153504788875580,-0.058973044157028,0.082496464252472,-0.124342583119869,-0.300414979457855,0.012485318817198,-0.027032565325499,0.110771797597408,-0.083780042827129,-0.082337826490402) * MODEL6_texOff(vec2(1,1));
res += FEATURE3_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.901760876178741,0.046652160584927,-0.162732660770416,0.395115613937378) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE4
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 4_4

vec4 hook()
{
vec4 res = vec4(-0.243933558464050,0.024411741644144,0.031550809741020,-0.136440947651863);
res += mat4(-0.170618072152138,-0.086082346737385,-0.070077911019325,-0.098764494061470,-0.068434774875641,0.045094005763531,-0.152389958500862,0.038601677864790,-0.011631877161562,-0.012034618295729,-0.017449280247092,0.073071353137493,-0.077196329832077,0.069878309965134,-0.096820116043091,-0.300106436014175) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.002554001519457,0.118483774363995,0.051635388284922,0.194743454456329,0.005796781275421,0.020067667588592,0.047573372721672,-0.072341553866863,0.038251608610153,0.045332845300436,-0.000351006572600,0.210304439067841,0.018185773864388,-0.028729220852256,-0.166574299335480,0.158989384770393) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.060912009328604,0.032345034182072,0.200895786285400,-0.116649143397808,-0.103750303387642,-0.088714458048344,0.070486947894096,-0.090125814080238,-0.021348649635911,-0.075563468039036,-0.032749585807323,-0.040949389338493,-0.052005931735039,-0.053514383733273,0.171737343072891,0.021854037418962) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.155685201287270,-0.067974984645844,-0.063870906829834,0.153891950845718,-0.080639295279980,0.121951356530190,-0.039313826709986,-0.051971305161715,-0.088435515761375,0.060711093246937,-0.011501961387694,-0.123551853001118,-0.039803624153137,0.011846365407109,-0.007134585641325,-0.072478048503399) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.060744445770979,0.051429044455290,0.051865577697754,0.290275812149048,-0.156385377049446,0.183377176523209,0.194235950708389,0.084508463740349,0.248410061001778,-0.102817408740520,0.162989139556885,0.106677852571011,-0.021119948476553,0.010453954339027,0.054251819849014,0.144355803728104) * MODEL1_texOff(vec2(0,0));
res += mat4(0.025463096797466,0.176848903298378,-0.032665688544512,0.100196376442909,0.036911822855473,-0.014210269786417,0.023768411949277,-0.162636250257492,-0.071772031486034,-0.090061113238335,-0.026817353442311,-0.132287800312042,-0.020341947674751,0.037087071686983,0.006564982701093,0.008145092986524) * MODEL1_texOff(vec2(0,1));
res += mat4(0.048446327447891,-0.031206933781505,0.017259711399674,0.141001895070076,0.073518373072147,0.054061055183411,0.019089501351118,0.035258177667856,0.054545123130083,0.053534455597401,-0.010264504700899,-0.032634317874908,-0.080635644495487,-0.044026456773281,0.022329146042466,-0.024455824866891) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.024216266348958,-0.075605258345604,-0.077208712697029,0.006408109795302,0.081372693181038,-0.162409558892250,-0.146819457411766,-0.127841994166374,0.041701745241880,0.017559727653861,-0.014921126887202,-0.005738527048379,-0.059349875897169,-0.023571178317070,0.002712045330554,0.071005418896675) * MODEL1_texOff(vec2(1,0));
res += mat4(0.013063837774098,-0.009093476459384,-0.023806488141418,-0.069736219942570,-0.075698196887970,-0.047606095671654,0.004051598720253,-0.145390927791595,-0.048611316829920,0.012116803787649,-0.054768070578575,-0.196356415748596,-0.058247216045856,-0.053301978856325,-0.079667024314404,0.070317462086678) * MODEL1_texOff(vec2(1,1));
res += mat4(0.173851087689400,0.069330506026745,-0.027484789490700,-0.083116225898266,0.040102936327457,-0.005574387963861,0.013911783695221,-0.023174911737442,0.020699061453342,-0.122758641839027,-0.116954654455185,0.228362828493118,0.063395246863365,-0.109764002263546,0.093422293663025,-0.203265383839607) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.077611528337002,0.005145072005689,-0.077040053904057,0.084055051207542,-0.049753516912460,-0.170564576983452,-0.111725859344006,-0.206193372607231,-0.119105786085129,-0.131258681416512,-0.266633868217468,0.039337657392025,0.104892380535603,0.146237596869469,-0.021673198789358,0.002985519822687) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.071127325296402,0.021721096709371,-0.105469822883606,0.019472245126963,0.006367788650095,-0.034276254475117,0.059215102344751,0.060111269354820,0.031522396951914,-0.156014457345009,0.181339755654335,-0.052310027182102,0.020038882270455,0.012545833364129,0.022448752075434,-0.092766948044300) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.225822195410728,0.110053010284901,-0.030859738588333,-0.051733128726482,0.046993639320135,-0.105663418769836,0.010321225039661,-0.110465161502361,0.140124142169952,-0.002597128972411,0.037809375673532,0.159737884998322,0.057725984603167,0.064764358103275,0.039311517030001,-0.153828144073486) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.052057765424252,0.132404655218124,-0.093541264533997,0.017510987818241,0.090239204466343,-0.024253977462649,-0.015955233946443,0.079212538897991,-0.038997627794743,-0.128006815910339,0.157284513115883,-0.095970340073109,-0.039421387016773,-0.012828824110329,0.020214490592480,0.007958108559251) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.004758034832776,0.194759473204613,-0.040003824979067,0.106455020606518,0.009388243779540,-0.031089477241039,-0.077344059944153,0.311657756567001,-0.091516122221947,0.016061274334788,-0.118648499250412,-0.103291600942612,0.002403643913567,-0.065002396702766,-0.109156817197800,-0.057064719498158) * MODEL2_texOff(vec2(0,1));
res += mat4(0.234255895018578,0.081438355147839,-0.010283035226166,-0.006583476904780,-0.026405418291688,-0.087032146751881,-0.002543990500271,-0.058582909405231,0.051381248980761,0.058086138218641,0.001224434003234,0.030310785397887,0.144376114010811,0.032839752733707,-0.011927395127714,-0.011472757905722) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.421198546886444,0.176964744925499,0.068672329187393,0.208069860935211,-0.055339541286230,-0.136820152401924,0.016495851799846,0.126633957028389,-0.068459652364254,-0.072061620652676,-0.089827880263329,-0.070343703031540,0.005146224517375,-0.120750084519386,-0.026543946936727,-0.001788805937394) * MODEL2_texOff(vec2(1,0));
res += mat4(0.317679733037949,0.119446076452732,0.041431058198214,0.250304341316223,-0.057659417390823,-0.079639658331871,0.008393896743655,0.308381557464600,-0.008735992945731,-0.151250764727592,-0.050176743417978,-0.140621736645699,-0.029443740844727,0.016529913991690,-0.063977852463722,0.079641237854958) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.109239034354687,0.151549950242043,-0.036282505840063,-0.052625179290771,-0.169976666569710,-0.056426402181387,0.008345201611519,0.045299850404263,0.020228724926710,-0.003738164901733,0.115279406309128,-0.083517856895924,0.031106591224670,-0.024719828739762,0.242452144622803,0.163246735930443) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.040087062865496,0.078262634575367,0.114198133349419,-0.032422043383121,-0.227835580706596,0.009708769619465,0.067686676979065,-0.061370458453894,-0.013251384720206,-0.008010612800717,-0.131334915757179,0.164777651429176,-0.050923734903336,-0.105389229953289,0.821476876735687,-0.233882844448090) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.074671119451523,-0.019058058038354,-0.046633973717690,-0.011743312701583,-0.223755866289139,-0.113153487443924,-0.056469351053238,-0.194369003176689,0.015572839416564,0.026291158050299,-0.090533040463924,0.157135114073753,-0.080096080899239,-0.070314258337021,0.223770126700401,0.002096880227327) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.009048499166965,0.079498842358589,-0.027590561658144,0.112658940255642,-0.214859023690224,0.034973796457052,0.001588972052559,-0.072760649025440,-0.027461465448141,0.065792642533779,0.015341027639806,-0.009303282946348,0.030698606744409,-0.066144622862339,-0.150219589471817,0.231148689985275) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.024846728891134,0.045871514827013,0.173829883337021,0.103005297482014,-0.338387995958328,-0.083579830825329,-0.034632749855518,-0.075994953513145,0.116065651178360,-0.148517593741417,-0.076347194612026,0.016286380589008,-0.057848900556564,0.128111883997917,-0.400416612625122,0.012521480210125) * MODEL3_texOff(vec2(0,0));
res += mat4(0.044503562152386,-0.035783644765615,0.026487309485674,0.195910841226578,-0.249799415469170,-0.090502299368382,-0.006015671417117,-0.092302285134792,0.167977511882782,-0.027993045747280,-0.052107300609350,0.014794394373894,-0.068988099694252,-0.040431898087263,-0.243979245424271,-0.002326997928321) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.017861004918814,0.042523935437202,0.018778311088681,0.063717685639858,-0.147520303726196,-0.046251345425844,-0.025050146505237,-0.270527839660645,-0.118401341140270,-0.052495557814837,0.040495157241821,-0.001399946049787,-0.011555210687220,0.012554095126688,-0.085679650306702,0.089558109641075) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.123431213200092,-0.060864318162203,-0.028562534600496,-0.087151013314724,-0.232348263263702,-0.065605320036411,-0.038207489997149,-0.165515854954720,-0.085092708468437,0.047606911510229,0.017569815739989,0.176342010498047,-0.026375882327557,-0.017001498490572,-0.097619228065014,0.171968638896942) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.037816140800714,0.020540658384562,-0.031245987862349,-0.217854738235474,-0.223780840635300,-0.087407104671001,-0.075346946716309,-0.213518977165222,0.110131531953812,0.049903437495232,0.014376887120306,0.086098901927471,0.023123253136873,-0.032693754881620,-0.064940527081490,0.023665513843298) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.087641939520836,-0.087327554821968,0.132428243756294,0.159292399883270,-0.120131447911263,-0.104186750948429,-0.102131970226765,0.087147563695908,-0.043757274746895,-0.027817327529192,0.019034234806895,0.216561749577522,-0.080091446638107,0.019475735723972,0.051993243396282,0.039537180215120) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.029198726639152,-0.036144431680441,0.015042362734675,0.037041552364826,-0.149614706635475,-0.030578760430217,-0.231927022337914,-0.127473086118698,-0.131172627210617,-0.009501196444035,-0.070543780922890,-0.163680866360664,-0.009057161398232,0.067464895546436,-0.007020095363259,0.095433808863163) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.003742924891412,-0.095413483679295,0.000093332128017,-0.048331174999475,-0.060788515955210,-0.003615015652031,-0.013681702315807,-0.062009498476982,-0.127795785665512,0.035628255456686,-0.207235500216484,0.049815800040960,0.069164097309113,-0.007225982379168,-0.031067317351699,0.019269455224276) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.088474750518799,0.023047005757689,-0.114060215651989,0.011170396581292,0.073400147259235,-0.068348474800587,0.217090249061584,-0.092206925153732,0.009269678965211,0.072741970419884,0.087023042142391,0.099131599068642,0.090491421520710,0.103131547570229,0.022819710895419,0.042851705104113) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.127855092287064,-0.024152735248208,0.044718038290739,0.000544462120160,-0.040797069668770,0.083283878862858,0.029979575425386,0.057758785784245,0.131309226155281,0.095046512782574,0.014810309745371,0.089405350387096,0.149868980050087,-0.077423334121704,-0.074032634496689,0.032660644501448) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.043988227844238,-0.009156323969364,0.066470563411713,-0.046354591846466,-0.089580848813057,0.012190202251077,-0.111656807363033,-0.028986779972911,-0.115073345601559,-0.085819602012634,0.107344277203083,-0.114958725869656,0.034606948494911,-0.017670731991529,0.014952918514609,0.019890621304512) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.241744592785835,-0.159462943673134,-0.090857453644276,-0.167115941643715,0.049535408616066,0.077213771641254,-0.093193382024765,0.064916513860226,0.161139920353889,-0.115621656179428,-0.021469771862030,0.014720622450113,0.178810834884644,0.020889254286885,0.010350503027439,0.025534903630614) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.143186613917351,0.059748884290457,-0.006141846999526,-0.124643482267857,0.145299687981606,0.143314942717552,0.068678140640259,0.127039924263954,-0.049541529268026,0.005482458043844,0.055500160902739,0.015228922478855,0.205193549394608,0.031454779207706,0.001402303925715,0.098229773342609) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.055081419646740,-0.004413953516632,0.076283976435661,-0.248994663357735,0.015415809117258,0.049376826733351,0.032051503658295,0.107658140361309,-0.093957416713238,-0.016497932374477,0.074194803833961,0.000234848601394,0.134909376502037,0.060684505850077,-0.065355554223061,0.174254983663559) * MODEL4_texOff(vec2(1,1));
res += mat4(0.079314738512039,-0.115156359970570,0.037923309952021,-0.082797892391682,0.058856043964624,-0.005526590161026,-0.032203074544668,0.102809421718121,0.028475455939770,0.058229267597198,0.055477540940046,-0.019508084282279,-0.071425892412663,-0.277084469795227,0.016135919839144,0.192350044846535) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.010316157713532,0.110879369080067,-0.029254822060466,0.144690081477165,-0.185504496097565,-0.073624990880489,-0.057876031845808,0.013199591077864,0.200435966253281,0.054938137531281,0.244448229670525,0.156705528497696,-0.068838372826576,-0.133270144462585,-0.124660573899746,-0.098971307277679) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.070828758180141,0.065516695380211,-0.105813518166542,0.061953615397215,-0.087506338953972,0.002139949472621,0.103115819394588,-0.198811590671539,0.157627120614052,0.091811060905457,-0.029438117519021,-0.004866925999522,-0.039505552500486,0.035089939832687,0.047943197190762,0.017176920548081) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.114626981317997,0.227772757411003,-0.083262123167515,-0.049624621868134,-0.049754746258259,0.023975694552064,0.075020022690296,0.022283392027020,0.006942186504602,-0.143631413578987,0.125746816396713,-0.032839965075254,-0.010010872967541,-0.201311767101288,0.051513627171516,0.046744700521231) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.115672141313553,0.113444536924362,0.043222762644291,-0.184499427676201,-0.109456047415733,0.213260769844055,0.062478359788656,0.018782928586006,0.039987213909626,0.124163717031479,-0.281740218400955,0.156788378953934,0.024274406954646,-0.057087127119303,-0.085044704377651,-0.130443379282951) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.118010550737381,0.069054007530212,-0.013792472891510,0.052451837807894,-0.162513852119446,0.024299999698997,0.062162440270185,-0.098195686936378,-0.045570246875286,-0.071779325604439,-0.178431466221809,0.057457361370325,-0.117041908204556,0.024998677894473,-0.078002162277699,0.049439974129200) * MODEL5_texOff(vec2(0,1));
res += mat4(0.006512384396046,0.066688910126686,0.014405261725187,-0.085862122476101,0.015834646299481,-0.070535257458687,-0.088496118783951,-0.049847211688757,0.014753064140677,-0.013432543724775,-0.025306550785899,-0.137788459658623,-0.031117944046855,-0.129464879631996,-0.003448809497058,-0.097835883498192) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.045229841023684,0.146465793251991,-0.051291365176439,0.063920073211193,-0.015609975904226,-0.015099009498954,-0.105770617723465,0.245932936668396,-0.104443214833736,-0.108634889125824,-0.079089470207691,-0.086234711110592,-0.079718746244907,-0.025376874953508,0.006950796116143,-0.104075476527214) * MODEL5_texOff(vec2(1,0));
res += mat4(0.080064333975315,0.026549233123660,-0.048965558409691,0.114467836916447,-0.015997190028429,-0.061089247465134,-0.122966416180134,-0.058957833796740,-0.130655780434608,-0.079599879682064,0.023196920752525,-0.115955062210560,-0.165012985467911,-0.110803261399269,0.007940750569105,0.014069641008973) * MODEL5_texOff(vec2(1,1));
res += mat4(0.242026373744011,-0.007266381289810,0.047903314232826,-0.031079616397619,0.005240956787020,0.063204176723957,-0.183542087674141,-0.136865705251694,0.079490154981613,-0.064075499773026,0.038697198033333,0.132336288690567,-0.109501145780087,0.054395034909248,-0.013854029588401,0.026261212304235) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.233033746480942,-0.085907526314259,0.207281470298767,-0.017887532711029,-0.085654929280281,0.100700452923775,-0.476968973875046,0.114398352801800,-0.108927667140961,-0.341828882694244,0.074104756116867,0.083660058677197,0.017763352021575,0.017468288540840,-0.049347393214703,-0.031162181869149) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.281190752983093,0.041657973080873,-0.015861358493567,0.065853908658028,0.062309745699167,0.064084112644196,-0.227055802941322,-0.016110053285956,0.037059925496578,-0.023256938904524,0.104002483189106,0.042702492326498,-0.093731924891472,-0.026598025113344,-0.125269442796707,-0.145518317818642) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.005889517255127,0.041605476289988,-0.004878334701061,-0.085635811090469,-0.102073021233082,0.064841337502003,-0.020346546545625,0.007198210805655,0.055709064006805,-0.068336077034473,-0.149871811270714,0.026936974376440,-0.011653579771519,0.004563988652080,-0.071010038256645,-0.089824788272381) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.177986860275269,0.058203991502523,0.159946933388710,0.090860322117805,0.156249329447746,0.049523733556271,0.146532014012337,0.149678707122803,-0.229356199502945,0.010398481041193,-0.390864700078964,0.024052204564214,0.025312779471278,-0.167986974120140,0.093726731836796,0.094456508755684) * MODEL6_texOff(vec2(0,0));
res += mat4(0.097587577998638,0.081972934305668,-0.049290779978037,0.089327558875084,-0.032622803002596,0.145115733146667,0.106995813548565,0.187941581010818,0.066702261567116,-0.038420487195253,-0.022206112742424,-0.024703651666641,0.060665141791105,0.005953752901405,0.167169749736786,0.074755698442459) * MODEL6_texOff(vec2(0,1));
res += mat4(0.017747862264514,0.050934087485075,0.056400503963232,0.153844609856606,-0.033704470843077,-0.125284671783447,-0.047095451503992,0.062713712453842,0.110698111355305,-0.030747577548027,-0.038360089063644,-0.014085818082094,0.002461814554408,-0.147495463490486,-0.052812978625298,0.029156660661101) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.094048686325550,0.044551834464073,-0.027678102254868,0.191477686166763,0.098058417439461,0.100559018552303,-0.024354616180062,0.058347094804049,0.140344709157944,-0.053959093987942,0.056707181036472,0.120000116527081,0.093323901295662,-0.118250139057636,0.013822448439896,0.125245809555054) * MODEL6_texOff(vec2(1,0));
res += mat4(0.108984693884850,0.098981067538261,-0.053950749337673,0.038919731974602,0.076438233256340,0.061397224664688,-0.047277722507715,-0.036297000944614,0.069030635058880,-0.031154265627265,-0.024881789460778,0.169231444597244,0.207526177167892,-0.009241978637874,-0.057985000312328,0.052575696259737) * MODEL6_texOff(vec2(1,1));
res += FEATURE4_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.766897201538086,0.836658954620361,-0.395174980163574,0.348827809095383) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE5
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 4_5

vec4 hook()
{
vec4 res = vec4(-0.065220557153225,-0.323298126459122,0.066462382674217,0.108023703098297);
res += mat4(0.120285511016846,-0.038158472627401,0.135314941406250,-0.165617674589157,-0.041034683585167,-0.007675494533032,-0.014404099434614,-0.069491527974606,-0.078244276344776,0.037704974412918,0.093730852007866,0.029347021132708,-0.201018705964088,-0.236876025795937,-0.046203244477510,-0.075943782925606) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.040863718837500,0.009078646078706,-0.034012742340565,0.040038738399744,0.000838200037833,-0.010450845584273,-0.080413490533829,0.095799207687378,-0.042210236191750,-0.039763726294041,0.024642741307616,0.082307353615761,-0.082204312086105,-0.126802831888199,-0.226814940571785,-0.047096129506826) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.026456132531166,0.249064669013023,0.195966020226479,-0.044491332024336,-0.016732433810830,-0.019280569627881,-0.200980454683304,0.043755572289228,0.074429504573345,-0.050355847924948,0.006144048646092,-0.004142819438130,0.051859043538570,-0.079897113144398,-0.235967189073563,-0.070306912064552) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.023649668321013,0.111601375043392,0.132626786828041,0.107722841203213,0.005757633596659,-0.044310227036476,-0.229553058743477,-0.103567570447922,-0.402867704629898,0.159671783447266,0.018571279942989,-0.135717689990997,-0.366556197404861,-0.265034049749374,-0.227322459220886,-0.076874509453773) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.041254408657551,0.075262784957886,-0.086492031812668,-0.221023797988892,-0.116147734224796,-0.166042923927307,-0.053125258535147,-0.095090299844742,0.633952200412750,-0.054569263011217,-0.238953903317451,0.091392911970615,-0.235237613320351,-0.014875176362693,-0.509098351001740,-0.049541275948286) * MODEL1_texOff(vec2(0,0));
res += mat4(0.103746868669987,-0.178835079073906,0.282669037580490,0.035102602094412,-0.136658936738968,-0.060049612075090,0.011635371483862,0.045888699591160,0.270437479019165,-0.089510202407837,-0.038623407483101,-0.022780440747738,0.048563886433840,-0.249637693166733,-0.458315074443817,-0.078774571418762) * MODEL1_texOff(vec2(0,1));
res += mat4(0.168258726596832,-0.075666621327400,0.171265244483948,0.009250312112272,0.000371800852008,-0.100451886653900,-0.064362257719040,-0.029755678027868,-0.052584409713745,-0.112131282687187,0.061044670641422,-0.037370305508375,-0.152770385146141,-0.289348453283310,-0.176557764410973,-0.035255562514067) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.025451047345996,0.265678226947784,0.031005296856165,0.097555048763752,-0.093787148594856,-0.097421549260616,-0.178676068782806,0.024873595684767,-0.182236239314079,0.073536083102226,-0.077380128204823,-0.007293931208551,0.043434679508209,-0.306665569543839,-0.351297289133072,-0.086856648325920) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.031997092068195,-0.044521760195494,-0.043332900851965,-0.015155634842813,-0.099921576678753,-0.096164375543594,0.034464586526155,-0.035237297415733,0.029188603162766,0.052905809134245,-0.137123063206673,-0.045462664216757,-0.025209983810782,-0.192609235644341,-0.453653573989868,-0.008505593053997) * MODEL1_texOff(vec2(1,1));
res += mat4(0.127484232187271,0.001134600723162,0.103936187922955,0.005274827592075,-0.146232962608337,-0.032816879451275,0.065155297517776,0.024610539898276,0.112317606806755,-0.029135592281818,-0.065994791686535,0.067748859524727,0.016447557136416,0.468391835689545,-0.177596002817154,0.108651094138622) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.010298443958163,0.129492521286011,-0.027069708332419,0.060082945972681,-0.014938288368285,-0.056685671210289,-0.118030436336994,0.109631761908531,-0.052673272788525,-0.065917477011681,-0.048499252647161,0.185162514448166,0.158862829208374,0.218384116888046,-0.080552883446217,0.140422806143761) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.109153643250465,0.135588005185127,0.107164368033409,0.011841981671751,0.055581130087376,0.006122954189777,-0.235055223107338,-0.064130127429962,-0.038140222430229,0.028329337015748,-0.027191571891308,0.132243663072586,0.093175187706947,0.097449377179146,0.229272484779358,-0.031570382416248) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.158131182193756,0.105006448924541,-0.009988101199269,0.010164004750550,0.036865323781967,-0.202656522393227,0.031543023884296,0.018339799717069,0.144267559051514,0.132167145609856,0.158225551247597,0.172933951020241,-0.012325294315815,0.143461823463440,-0.007286911364645,0.125015020370483) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.090824715793133,0.075974591076374,-0.004168271552771,-0.032465420663357,-0.057684339582920,0.158692464232445,-0.201553627848625,0.116948813199997,0.060315486043692,-0.006914447527379,0.161269873380661,-0.121490135788918,-0.001798401819542,0.190716281533241,0.212316617369652,-0.106534421443939) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.129462569952011,0.032274939119816,0.227847486734390,0.066052727401257,0.022319046780467,-0.001856758724898,-0.666116714477539,-0.082220800220966,0.029203480109572,-0.130897611379623,0.020078837871552,0.210872456431389,-0.051438771188259,0.184064269065857,0.057175401598215,-0.112468801438808) * MODEL2_texOff(vec2(0,1));
res += mat4(0.088638298213482,0.110477253794670,0.121153689920902,0.142566904425621,-0.100155428051949,-0.112616971135139,0.107230402529240,0.041025478392839,0.040223233401775,0.038532111793756,0.063014648854733,0.032208897173405,0.003823109669611,-0.042946841567755,-0.034320235252380,0.088198408484459) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.131368830800056,-0.011894482187927,0.150027945637703,0.140721186995506,0.010132752358913,0.064950712025166,0.053577825427055,-0.041912924498320,-0.190311998128891,0.189495399594307,-0.006067337933928,0.098346427083015,-0.132487952709198,0.189652621746063,-0.144502297043800,0.089737296104431) * MODEL2_texOff(vec2(1,0));
res += mat4(0.101628661155701,0.031084604561329,0.315000653266907,0.151720121502876,0.182006239891052,-0.033417198807001,-0.470138847827911,-0.028823155909777,-0.173062890768051,0.236308932304382,-0.016130238771439,-0.057166978716850,-0.132940128445625,0.321842223405838,0.022275922819972,0.039750672876835) * MODEL2_texOff(vec2(1,1));
res += mat4(0.029054900631309,0.189851105213165,0.071512900292873,-0.035523198544979,-0.069186113774776,0.041326444596052,-0.106265395879745,-0.114805087447166,0.008744308724999,-0.049332112073898,-0.017918163910508,-0.040694862604141,0.012178847566247,-0.017563560977578,-0.117483705282211,-0.022234618663788) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.118883065879345,0.177585572004318,0.070493079721928,-0.098161749541759,-0.122892439365387,-0.001931242411956,0.057242799550295,-0.060892023146152,0.172797963023186,0.008896328508854,0.111543998122215,-0.003861624980345,0.018565248697996,0.247509613633156,0.066763080656528,-0.222447499632835) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.065267369151115,-0.122524686157703,0.336809992790222,-0.067391790449619,0.031141720712185,0.030221804976463,-0.074936963617802,-0.086904592812061,0.129960626363754,-0.076488539576530,0.064871348440647,0.073033198714256,0.083046153187752,-0.299545079469681,0.096050575375557,-0.100907690823078) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.021256472915411,0.049070768058300,0.129078850150108,0.045897088944912,-0.291095137596130,-0.107088796794415,0.109731040894985,-0.128823533654213,0.020179670304060,0.011701544746757,-0.149241387844086,-0.072362437844276,0.120101332664490,-0.122933305799961,-0.090742573142052,-0.081801675260067) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.019054574891925,-0.014909261837602,0.161714270710945,0.019575655460358,-0.159309044480324,-0.152095034718513,-0.108556829392910,-0.161290794610977,-0.056416150182486,0.000931397953536,-0.047888074070215,0.168652608990669,-0.142323583364487,0.249971613287926,-0.028610190376639,0.161087527871132) * MODEL3_texOff(vec2(0,0));
res += mat4(0.078946121037006,0.268853247165680,0.064186736941338,-0.132163286209106,0.008822127245367,0.142617642879486,-0.087764151394367,-0.071558877825737,-0.075827792286873,-0.100910112261772,-0.005843484774232,0.240448430180550,-0.217348709702492,-0.034284465014935,0.126461952924728,0.028056591749191) * MODEL3_texOff(vec2(0,1));
res += mat4(0.008646438829601,-0.105557292699814,0.056434966623783,0.013857614248991,-0.215359777212143,-0.114228472113609,-0.195645257830620,-0.150908753275871,0.117218486964703,0.058181535452604,0.087104566395283,-0.072244986891747,0.130154073238373,0.203626707196236,-0.091689638793468,-0.080517783761024) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.019610317423940,0.070941403508186,0.172306865453720,0.000411753309891,-0.131078526377678,-0.150055542588234,-0.122213624417782,0.002692667068914,0.012017809785903,-0.089414484798908,0.075174890458584,-0.031502563506365,0.102779246866703,-0.120670385658741,0.231317937374115,-0.044813115149736) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.027604924514890,0.115143381059170,-0.066354133188725,-0.037543069571257,-0.064416460692883,-0.073699556291103,-0.016836689785123,-0.091013431549072,0.082788109779358,-0.050787396728992,0.047657046467066,0.101050525903702,-0.093903563916683,0.209512487053871,0.067198097705841,-0.004356937948614) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.042557056993246,-0.085444577038288,0.186108544468880,0.054985880851746,0.104837827384472,0.032666172832251,-0.153165489435196,0.032569494098425,-0.096665531396866,-0.060450460761786,0.051508702337742,-0.042638495564461,-0.075054459273815,-0.282852917909622,-0.051693320274353,-0.060069303959608) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.107335470616817,0.135813519358635,0.012998340651393,-0.188376724720001,0.000455760746263,0.160897105932236,-0.111726611852646,-0.056134961545467,-0.028295105323195,0.031799096614122,-0.008738152682781,0.031800903379917,0.023487484082580,0.003203708678484,-0.067494273185730,-0.068941757082939) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.043367732316256,-0.102557845413685,-0.023994460701942,0.037612214684486,-0.039051469415426,-0.047567013651133,0.015759898349643,-0.004447184503078,-0.031225286424160,-0.144496425986290,-0.129048213362694,-0.014708962291479,-0.012318825349212,0.050513923168182,-0.090185821056366,-0.014132706448436) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.127089321613312,0.109203413128853,0.473192602396011,-0.064394779503345,0.201269760727882,0.058359511196613,0.090222418308258,-0.098695695400238,0.001794652547687,-0.046574383974075,0.165496081113815,0.140145286917686,-0.034597296267748,0.040900401771069,-0.085652247071266,-0.034405190497637) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.359107166528702,-0.008792608045042,-0.089305110275745,0.062373828142881,0.097318410873413,0.059795137494802,0.137745752930641,-0.058865364640951,0.007773268502206,-0.036590479314327,0.244130954146385,-0.119075611233711,0.103637985885143,-0.153990074992180,-0.030511893332005,0.104051753878593) * MODEL4_texOff(vec2(0,0));
res += mat4(0.035398416221142,0.028937878087163,0.034361820667982,0.034607298672199,-0.138978973031044,0.099832035601139,0.042951982468367,-0.059855658560991,0.042130410671234,-0.112384028732777,-0.033559817820787,0.085050784051418,0.024078890681267,0.051106639206409,0.032563120126724,-0.082085475325584) * MODEL4_texOff(vec2(0,1));
res += mat4(0.044279731810093,0.081158570945263,0.157886758446693,-0.013879029080272,0.067220591008663,0.318175107240677,-0.024884616956115,0.005738591775298,-0.080599471926689,0.003046346828341,-0.012146588414907,0.058665197342634,0.053943224251270,0.069963954389095,-0.017257692292333,0.110224075615406) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.103528901934624,0.056678537279367,-0.004483966156840,-0.075760789215565,-0.013593748211861,0.081647127866745,-0.082455299794674,-0.164951443672180,-0.071130894124508,0.005283745937049,0.065316714346409,0.108852855861187,0.113731391727924,-0.163449943065643,-0.096237905323505,0.084228724241257) * MODEL4_texOff(vec2(1,0));
res += mat4(0.034283123910427,0.154913410544395,0.101269781589508,-0.075168617069721,0.002713614609092,0.110655449330807,-0.040662404149771,0.014929224736989,0.064169846475124,-0.146584793925285,-0.269265770912170,0.021181231364608,0.068730525672436,0.009011012502015,0.026788454502821,0.032696038484573) * MODEL4_texOff(vec2(1,1));
res += mat4(0.007473992649466,-0.217979639768600,0.089315675199032,0.029217721894383,0.072561375796795,0.099838450551033,0.074293598532677,0.020520139485598,-0.001710810698569,-0.020351821556687,0.095221132040024,0.001168254762888,-0.136702463030815,-0.032112047076225,0.166246145963669,0.071936950087547) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.037443157285452,-0.108829557895660,0.131844088435173,-0.198628708720207,-0.026216067373753,-0.087679333984852,0.005336920730770,-0.071917586028576,0.236058101058006,0.006987343542278,0.155813232064247,0.055324252694845,-0.182465761899948,0.167790949344635,0.032224871218204,-0.031719420105219) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.001490352209657,-0.154209509491920,-0.066700756549835,0.104333661496639,-0.020461805164814,0.106105618178844,-0.032820727676153,0.003688253695145,0.048477619886398,0.082187645137310,0.039259437471628,0.110817000269890,0.113965697586536,0.128514975309372,-0.094416171312332,-0.094254553318024) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.100538194179535,0.133394822478294,-0.152408897876740,-0.025441791862249,0.007835738360882,-0.155440554022789,0.021980706602335,-0.000943696242757,0.113045103847980,0.096150018274784,0.099821105599403,0.022317696362734,-0.188495546579361,-0.039397910237312,0.164232045412064,0.113373167812824) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.070402473211288,-0.224131688475609,-0.161436811089516,0.143105998635292,0.144645512104034,-0.131510883569717,-0.010715136304498,0.008105450309813,-0.044318698346615,0.019507536664605,-0.195614069700241,0.004463757388294,-0.184702381491661,0.301317960023880,-0.069267973303795,-0.057820919901133) * MODEL5_texOff(vec2(0,0));
res += mat4(0.034921299666166,-0.105689369142056,-0.217102006077766,-0.080102428793907,0.063531801104546,0.075452812016010,0.038035862147808,-0.019140789285302,-0.263418376445770,0.048551250249147,-0.158204838633537,0.011594325304031,-0.005381888709962,-0.035392764955759,0.010779253207147,-0.026431703940034) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.017585614696145,-0.082183875143528,-0.155869781970978,-0.163198053836823,-0.109641797840595,0.120807528495789,0.044080507010221,0.014167062938213,0.025634162127972,0.043277043849230,-0.206977769732475,0.013401856645942,-0.120701499283314,0.194829300045967,0.093422643840313,0.052986063063145) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.025299439206719,-0.296209782361984,-0.117815822362900,-0.117188297212124,-0.006414206698537,-0.098362043499947,0.058000672608614,-0.103788956999779,-0.042105201631784,-0.031285911798477,-0.055998124182224,-0.084898643195629,-0.031755868345499,0.264571785926819,0.008933995850384,-0.143398508429527) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.038328494876623,-0.043660569936037,-0.172344952821732,0.043265163898468,-0.068277128040791,-0.020942211151123,-0.049956519156694,-0.013107792474329,-0.115458004176617,0.120042152702808,-0.206762880086899,-0.052934829145670,0.035301372408867,0.112969063222408,0.094260767102242,-0.098022162914276) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.007782500237226,0.069476842880249,-0.087134823203087,0.041547153145075,-0.049611657857895,0.130987286567688,0.201707541942596,0.061003059148788,0.085135914385319,-0.143954962491989,-0.041392348706722,-0.000672416354064,-0.048409726470709,0.102242670953274,0.129998043179512,-0.073735266923904) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.104581587016582,0.099923595786095,-0.031593471765518,0.139499917626381,-0.026578024029732,0.127667009830475,0.144877523183823,0.040686514228582,0.054433744400740,-0.170261114835739,0.072095222771168,0.005752367433161,0.015916023403406,0.146792411804199,-0.023325476795435,0.206135898828506) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.028470715507865,-0.030391497537494,0.064658135175705,0.106970287859440,-0.054163653403521,0.045653536915779,0.028141964226961,0.028131913393736,-0.240098387002945,0.013028451241553,-0.085648335516453,-0.054854072630405,0.282297134399414,0.236538678407669,0.059481650590897,-0.036947879940271) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.063140951097012,-0.084920898079872,-0.042245011776686,-0.015939224511385,-0.294720083475113,0.136363580822945,-0.151266962289810,0.011446919292212,0.055791933089495,0.047236759215593,-0.145185187458992,-0.047269921749830,-0.016163861379027,0.132532566785812,-0.017793051898479,-0.046268254518509) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.110717095434666,-0.192331984639168,-0.176372379064560,0.266653656959534,0.147433385252953,0.159375578165054,-0.108564421534538,-0.033486369997263,-0.126807585358620,0.164512321352959,-0.416057348251343,0.070213913917542,0.052680801600218,-0.316707968711853,0.058686845004559,0.017358094453812) * MODEL6_texOff(vec2(0,0));
res += mat4(0.072638541460037,0.290825068950653,0.006715877912939,-0.003766629146412,0.226097926497459,0.075526744127274,-0.030956931412220,-0.037707362323999,-0.087015658617020,0.144124224781990,-0.195451527833939,-0.128300085663795,0.275674819946289,0.371571183204651,-0.182190641760826,-0.148464888334274) * MODEL6_texOff(vec2(0,1));
res += mat4(0.072328232228756,-0.141743138432503,-0.121348202228546,-0.008315642364323,-0.072667025029659,-0.076665453612804,-0.125931680202484,0.013671512715518,0.138555258512497,0.089682690799236,0.059370938688517,-0.032129168510437,-0.121580906212330,-0.005629151128232,0.058549869805574,-0.002505426760763) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.158487394452095,-0.103597611188889,0.260571897029877,-0.037727318704128,0.086713500320911,0.109864383935928,-0.069953076541424,0.085605911910534,0.057277258485556,0.011129945516586,0.042418926954269,0.002430464839563,0.158433124423027,0.236166894435883,-0.012176943942904,0.033904071897268) * MODEL6_texOff(vec2(1,0));
res += mat4(0.042884908616543,-0.030246412381530,-0.058097969740629,-0.054713293910027,0.080551184713840,0.211775511503220,-0.046485230326653,-0.013970477506518,-0.048839028924704,-0.100108250975609,0.036135539412498,0.068779550492764,0.097456954419613,0.220416143536568,-0.175467655062675,-0.061518479138613) * MODEL6_texOff(vec2(1,1));
res += FEATURE5_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.108859218657017,-0.012481554411352,0.095212839543819,0.933005452156067) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 4_6

vec4 hook()
{
vec4 res = vec4(-0.015787411481142,-0.088146649301052,-0.035488750785589,0.046885497868061);
res += mat4(0.109253011643887,0.058008965104818,0.092430181801319,-0.058289941400290,-0.047600004822016,0.101292572915554,0.065007843077183,-0.079934291541576,0.015646519139409,0.009793298318982,0.001537797274068,0.003985456191003,0.178301915526390,0.036235790699720,0.168247416615486,0.046696908771992) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.181240037083626,0.095046706497669,0.015321191400290,-0.004577483516186,-0.016240052878857,0.074588961899281,0.060715474188328,0.036763466894627,-0.165255039930344,-0.032524764537811,0.212307482957840,0.059250660240650,0.149734586477280,0.041802208870649,0.148556232452393,0.020772449672222) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.186537027359009,-0.026540581136942,-0.055729448795319,-0.013478629291058,0.017455903813243,0.222700819373131,0.021522887051105,-0.093361362814903,0.005110739264637,0.014968776144087,0.080280408263206,-0.007381584029645,-0.045899447053671,-0.005407588090748,0.074383296072483,-0.076357886195183) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.025816295295954,-0.091796129941940,0.059996407479048,0.243575572967529,0.036089286208153,-0.045284934341908,0.014787044376135,-0.122131556272507,0.035284683108330,-0.012606346979737,0.027707446366549,0.051854234188795,0.136321634054184,0.121369056403637,0.047219339758158,0.041298031806946) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.054110404103994,0.018750935792923,-0.035388160496950,-0.135327696800232,-0.150342524051666,0.097549788653851,0.246136114001274,-0.267502486705780,-0.039984874427319,-0.019742000848055,-0.063029803335667,-0.032839693129063,-0.054068285971880,0.319151401519775,-0.031477123498917,0.060372054576874) * MODEL1_texOff(vec2(0,0));
res += mat4(0.128161802887917,-0.286643087863922,0.028321070596576,0.259833365678787,0.179265215992928,-0.094209246337414,0.026396567001939,-0.119067035615444,0.151060864329338,0.030348084867001,0.086972564458847,0.147737175226212,0.157675445079803,0.069463744759560,-0.028642795979977,0.033750463277102) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.159740984439850,0.035177018493414,0.128561779856682,-0.074137181043625,0.010423186235130,-0.078838944435120,-0.036245908588171,-0.013871748931706,-0.020025219768286,0.093831159174442,-0.104871429502964,0.024454915896058,0.069945834577084,-0.123416021466255,0.082522027194500,-0.017550155520439) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.033964373171329,0.108896404504776,-0.092569291591644,0.050263654440641,-0.055268973112106,-0.125502571463585,-0.060237485915422,-0.235097929835320,0.191335916519165,-0.077151723206043,-0.137777015566826,-0.173573821783066,0.113416850566864,-0.000672008725815,-0.042831812053919,-0.049049552530050) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.124191895127296,-0.239526495337486,0.117865644395351,-0.036092560738325,-0.076779618859291,-0.087145037949085,0.173838317394257,-0.194927990436554,-0.155119210481644,-0.066323816776276,0.048797596246004,-0.077341333031654,0.173995032906532,-0.062224935740232,-0.041713189333677,0.084609881043434) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.079618692398071,-0.076467387378216,-0.114780746400356,-0.042772162705660,-0.000913707248401,0.009869028814137,-0.038972228765488,0.077648282051086,-0.223262190818787,0.133556887507439,-0.015374015085399,0.068154178559780,0.036513056606054,0.357446223497391,-0.144858211278915,0.053396392613649) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.010994384065270,0.015138079412282,-0.105089090764523,0.061571978032589,0.065633550286293,-0.126164272427559,0.058979868888855,0.064726643264294,0.057747479528189,-0.060377825051546,-0.030065951868892,-0.051116615533829,0.000634420022834,0.137761458754539,-0.066282093524933,0.220831155776978) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.024106573313475,-0.062659814953804,-0.064033433794975,-0.021848680451512,-0.053964141756296,0.047084130346775,0.111863367259502,-0.057251550257206,0.027446554973722,-0.032092012465000,0.063533797860146,0.121881090104580,0.038922797888517,-0.120190851390362,-0.132817864418030,0.054288186132908) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.099079862236977,0.123022451996803,-0.107027642428875,0.089121542870998,0.066676750779152,-0.109006300568581,-0.233736813068390,-0.088556513190269,-0.031354211270809,0.062710762023926,-0.016175281256437,-0.002461555413902,0.104131177067757,0.046090766787529,0.006266329437494,-0.042059071362019) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.080006852746010,-0.027724577113986,-0.109592542052269,-0.080075860023499,0.291911900043488,0.018235294148326,0.025449981912971,0.035377573221922,-0.078089669346809,0.145466312766075,0.175381168723106,0.022612245753407,0.007971959188581,0.124193593859673,0.138550058007240,0.205992177128792) * MODEL2_texOff(vec2(0,0));
res += mat4(0.028915885835886,-0.068207688629627,-0.091666199266911,0.084702014923096,-0.032232344150543,-0.016883414238691,-0.048432860523462,-0.078124463558197,0.232644736766815,0.017189256846905,0.015013091266155,0.000465565215563,0.194716379046440,-0.159314334392548,-0.086990587413311,0.227979660034180) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.204820379614830,-0.079423546791077,-0.107927903532982,0.055213205516338,0.112281039357185,-0.345457017421722,-0.045863118022680,-0.105377987027168,-0.047352906316519,0.019045805558562,-0.110102944076061,0.101951837539673,0.136853516101837,0.062039751559496,0.031074490398169,-0.026597900316119) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.242224112153053,-0.018982341513038,-0.083655141294003,0.026193873956800,0.063038311898708,-0.297976672649384,-0.058320343494415,-0.085473425686359,-0.078943602740765,0.040522303432226,-0.173887565732002,-0.011520556174219,0.213850647211075,-0.060397490859032,-0.108753606677055,-0.035372924059629) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.200655430555344,-0.073377542197704,-0.025283839553595,0.129517793655396,0.101869940757751,-0.250536769628525,-0.086245931684971,-0.029369397088885,0.130354717373848,0.114459782838821,-0.024736357852817,-0.078746765851974,-0.008766307495534,0.043321434408426,0.042185522615910,0.054205600172281) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.035645943135023,0.067587919533253,0.163186863064766,-0.006625534966588,0.214923068881035,-0.036588449031115,0.080504857003689,-0.056933421641588,-0.254394888877869,-0.062814906239510,-0.022093482315540,-0.091023713350296,-0.040882613509893,0.058232765644789,0.136561423540115,0.012429022230208) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.042715169489384,0.128779292106628,-0.044666465371847,-0.070099644362926,0.093831054866314,0.126256704330444,0.001765347667970,0.116023153066635,-0.156844332814217,-0.130475685000420,-0.034843098372221,-0.038440823554993,0.241225421428680,0.045842245221138,-0.259119153022766,-0.139409691095352) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.213353902101517,0.115339167416096,-0.042213335633278,0.004111428279430,0.030852016061544,0.110296741127968,-0.056916739791632,0.085327520966530,-0.135631352663040,-0.095425114035606,0.097414590418339,-0.087016806006432,-0.038736309856176,0.012909580953419,-0.089855842292309,-0.073972716927528) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.017706153914332,0.093901209533215,0.055200334638357,0.103030174970627,0.058184087276459,0.027193417772651,0.093772843480110,-0.048233270645142,0.101282611489296,-0.033239196985960,0.059958584606647,0.091360047459602,-0.094446584582329,0.056963443756104,0.031136296689510,-0.107620336115360) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.029853589832783,0.371889501810074,0.050581548362970,0.080249056220055,0.189350605010986,-0.047080755233765,0.123235099017620,0.021742351353168,-0.044573418796062,0.344179719686508,-0.009668081067502,-0.002912131370977,0.192364588379860,-0.280607432126999,0.134173855185509,-0.237904056906700) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.244066074490547,0.066124245524406,-0.078423961997032,-0.089531175792217,0.269890069961548,0.114915356040001,0.024807387962937,0.023331064730883,-0.087162926793098,0.101854532957077,0.043626319617033,-0.021498199552298,-0.049097128212452,-0.235223114490509,0.153994888067245,-0.049989379942417) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.069023892283440,0.106487549841404,0.184321284294128,-0.104066669940948,0.153532207012177,0.000563465757295,0.024570908397436,-0.012272661551833,0.012259949930012,-0.066189050674438,0.117472529411316,0.014581800438464,-0.082493960857391,0.103483840823174,0.011225220747292,0.083782456815243) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.087579928338528,0.028474211692810,-0.023530332371593,-0.025151206180453,0.073338180780411,-0.115455113351345,0.033362369984388,0.099282115697861,-0.076278880238533,-0.088168181478977,0.218191891908646,-0.028574157506227,-0.000021759398805,-0.120783455669880,0.104803562164307,0.294686526060104) * MODEL3_texOff(vec2(1,0));
res += mat4(0.068834312260151,0.034453295171261,-0.146071523427963,-0.043661825358868,0.145909324288368,-0.035447780042887,0.035514298826456,0.110658258199692,0.053703650832176,0.038028676062822,0.128095388412476,-0.070129141211510,-0.110069446265697,-0.139410167932510,-0.079298406839371,0.129599869251251) * MODEL3_texOff(vec2(1,1));
res += mat4(0.216784402728081,0.149312913417816,0.014070286415517,-0.102444030344486,-0.007059205323458,0.002781515242532,0.031013427302241,0.037212613970041,-0.017438869923353,-0.149117782711983,-0.013432056643069,0.056795161217451,0.098918758332729,-0.061400882899761,-0.015194762498140,-0.025675274431705) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.010570936836302,0.144241556525230,-0.193810790777206,-0.043480038642883,0.007374315056950,0.006316459272057,0.160042151808739,0.039318330585957,0.025955006480217,0.060418579727411,-0.156579971313477,0.022623877972364,0.110686726868153,-0.073584489524364,-0.066274076700211,-0.095117188990116) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.082070805132389,0.054354239255190,-0.040046826004982,-0.025735756382346,0.058913305401802,-0.012210407294333,0.057648584246635,0.001278294017538,-0.070355080068111,0.010882397182286,-0.059809356927872,0.118070870637894,0.087829872965813,-0.037808161228895,-0.023853555321693,-0.056379858404398) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.181575596332550,0.016355400905013,-0.104447886347771,-0.359626293182373,0.080608502030373,0.166654542088509,0.011940893717110,-0.067369110882282,-0.001469671959057,-0.185675606131554,-0.169926479458809,-0.199310943484306,-0.013312438502908,0.063280232250690,0.001754434313625,-0.036579571664333) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.063499219715595,0.124974459409714,-0.167006134986877,0.024269824847579,-0.212000042200089,0.039787486195564,-0.085061229765415,-0.001893921522424,0.117604956030846,-0.137237310409546,0.146086320281029,0.040180187672377,-0.052493177354336,-0.097941122949123,0.077046498656273,-0.068955682218075) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.025066073983908,0.011082583107054,-0.024753691628575,-0.127219662070274,0.040216665714979,0.015258251689374,0.016068898141384,0.039320927113295,-0.083092786371708,0.154176265001297,0.044177018105984,-0.167900457978249,0.029280658811331,-0.039154030382633,-0.022897111251950,-0.015086839906871) * MODEL4_texOff(vec2(0,1));
res += mat4(0.272469311952591,-0.000399364740588,0.112171009182930,-0.255786657333374,0.168872714042664,-0.213288336992264,-0.178505599498749,0.072772681713104,0.059889905154705,-0.060361035168171,-0.132028535008430,-0.048181641846895,-0.035524491220713,-0.160126209259033,-0.042633086442947,0.079037666320801) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.132134616374969,-0.116834484040737,0.121899738907814,0.018666720017791,-0.030917396768928,-0.114073701202869,-0.159469783306122,0.039749760180712,0.032397218048573,-0.123437978327274,0.112768366932869,0.126015856862068,-0.257317692041397,-0.141738548874855,-0.096201047301292,0.099307298660278) * MODEL4_texOff(vec2(1,0));
res += mat4(0.092732734978199,-0.099688157439232,-0.024966362863779,0.076587066054344,-0.091402396559715,0.144687160849571,0.049684941768646,-0.109665229916573,0.141219586133957,-0.035810638219118,0.058253642171621,0.144685328006744,-0.094187408685684,0.026977447792888,-0.103062421083450,0.069998905062675) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.347542554140091,-0.113984391093254,0.110465310513973,-0.061174176633358,-0.099996730685234,-0.008568594232202,0.005277917254716,0.022239673882723,-0.267641335725784,0.030058668926358,0.008200017735362,-0.070472553372383,-0.154789835214615,-0.019179737195373,-0.093295618891716,0.028083071112633) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.370319336652756,-0.045707765966654,0.152397811412811,-0.184797197580338,0.202113270759583,0.006713892333210,-0.056925162672997,0.099974401295185,-0.103454574942589,0.059555709362030,-0.236521631479263,-0.015145285986364,-0.173732221126556,-0.002494432963431,0.137469843029976,-0.095504894852638) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.409440755844116,-0.051439058035612,0.187774494290352,0.113345943391323,-0.121539749205112,-0.002083516912535,0.018446071073413,0.082016818225384,0.011702886782587,0.088225290179253,-0.085722193121910,0.084093987941742,-0.024129891768098,-0.029363540932536,0.010913155972958,0.008206808008254) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.076782204210758,-0.013711938634515,-0.082162044942379,0.073197484016418,-0.050135053694248,0.038232073187828,0.031978864222765,-0.073419265449047,-0.021502241492271,0.078501209616661,-0.046521868556738,-0.035660561174154,0.072915583848953,0.087908759713173,-0.106239616870880,0.013174378313124) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.232231244444847,-0.086600832641125,0.057904280722141,0.220995262265205,0.042387045919895,-0.106237523257732,0.115999244153500,-0.049051381647587,-0.079896494746208,-0.073375299572945,0.248416706919670,0.005535031203181,-0.186342120170593,0.126073211431503,-0.089259117841721,-0.126953288912773) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.030193125829101,0.225115880370140,0.118876613676548,0.034836854785681,-0.008666277863085,0.029209926724434,-0.044845879077911,-0.043389845639467,0.085572868585587,-0.015673628076911,0.158327192068100,0.182466968894005,0.133657783269882,-0.002174480585381,0.049294695258141,0.083400562405586) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.147124111652374,-0.078798785805702,-0.065492071211338,0.302955627441406,-0.030015029013157,0.059689719229937,-0.054576415568590,0.045740026980639,0.091000542044640,-0.064871750771999,-0.029607485979795,-0.073085337877274,0.008419349789619,-0.176636114716530,-0.030396120622754,-0.033109828829765) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.196146637201309,-0.013156631030142,0.091841913759708,0.032389476895332,-0.063491441309452,-0.088353522121906,0.206795945763588,0.077461779117584,-0.154150471091270,-0.086234062910080,0.028348796069622,0.106675162911415,-0.380488187074661,0.081696413457394,0.101482167840004,-0.057910311967134) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.039660498499870,0.008015435189009,-0.026279145851731,0.046630334109068,0.069686442613602,0.035585682839155,-0.036631111055613,0.083047538995743,0.056738343089819,0.125435590744019,-0.007288040593266,-0.104485601186752,-0.107067637145519,-0.095183901488781,0.158912762999535,0.048784822225571) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.135716855525970,0.030254932120442,-0.129720240831375,-0.056696590036154,-0.122082233428955,-0.113749809563160,0.117448613047600,-0.148802399635315,-0.211111903190613,0.007515041157603,0.082024708390236,0.018476765602827,0.284421086311340,-0.107328444719315,-0.039774410426617,0.107803501188755) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.044966343790293,-0.005294035654515,-0.258961111307144,-0.034597057849169,0.059255402535200,-0.067530132830143,0.085058152675629,-0.032453574240208,0.015433336608112,-0.089410699903965,0.174222990870476,-0.000603334396146,-0.006546962540597,0.084707722067833,-0.015505047515035,0.032558508217335) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.083752945065498,0.047936521470547,-0.180002748966217,-0.100243426859379,0.045927114784718,0.021463591605425,0.042776625603437,0.032474823296070,0.006831923034042,0.025103252381086,0.120894610881805,-0.021539267152548,0.024498119950294,0.032067995518446,0.012530657462776,-0.079640924930573) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.081744968891144,-0.080322138965130,-0.023164376616478,0.100333154201508,0.111506357789040,0.026237921789289,0.102444209158421,0.010281171649694,-0.151404753327370,0.124500319361687,-0.117260389029980,0.006018114741892,0.085238449275494,-0.104195065796375,-0.076617620885372,-0.013075041584671) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.237565502524376,-0.320738971233368,0.168904930353165,-0.115199483931065,-0.012651329860091,0.219601228833199,0.058682426810265,0.183425813913345,-0.046572711318731,-0.004331977106631,0.090105943381786,0.235061287879944,-0.076243966817856,0.130578547716141,-0.068585902452469,0.083825267851353) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.146965116262436,-0.143347293138504,0.032422311604023,-0.069905146956444,0.001270951353945,0.041387114673853,0.118368715047836,-0.072773724794388,0.143065631389618,-0.054515283554792,-0.005402834620327,0.011867181397974,-0.109616868197918,0.008184585720301,-0.065955325961113,-0.207719117403030) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.073384582996368,0.013069451786578,0.062782362103462,0.066208556294441,-0.043415393680334,-0.046521652489901,-0.028409698978066,0.015694700181484,-0.127015739679337,-0.201464027166367,-0.110643170773983,-0.079960048198700,-0.174238368868828,0.010957166552544,0.023093765601516,-0.104845121502876) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.027350125834346,-0.252027153968811,0.055995378643274,0.004736605100334,0.035527624189854,0.017966412007809,-0.029828997328877,-0.005929767619818,-0.146178901195526,-0.008225215598941,0.054510373622179,0.242955297231674,-0.081902138888836,-0.199861794710159,0.056890174746513,-0.043297749012709) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.116385750472546,-0.128452479839325,-0.117690034210682,-0.063150115311146,-0.057070832699537,-0.117322407662868,-0.031697977334261,-0.054265871644020,0.095839478075504,-0.031338576227427,0.005096375476569,0.108126550912857,-0.074671268463135,0.109727069735527,-0.109225675463676,-0.146448478102684) * MODEL6_texOff(vec2(1,1));
res += FEATURE6_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.540309846401215,0.014842605218291,0.934356808662415,0.717407643795013) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 5_1

vec4 hook()
{
vec4 res = vec4(-0.011888565495610,0.139413759112358,0.015890544280410,0.005041097756475);
res += mat4(0.089898146688938,0.152628645300865,0.129806041717529,-0.077055200934410,0.075405478477478,0.055917203426361,0.072581663727760,0.094339437782764,0.072282977402210,0.035462636500597,0.028538193553686,-0.152005076408386,-0.044255353510380,0.044105019420385,-0.033230841159821,0.050429690629244) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.146122500300407,-0.121342457830906,-0.189022347331047,-0.078980863094330,-0.022462319582701,0.106784395873547,0.025605419650674,-0.074084214866161,0.077014349400997,0.122265949845314,0.055091924965382,-0.271474897861481,0.105478525161743,0.019015297293663,0.048184495419264,-0.035018589347601) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.124143086373806,0.069119021296501,0.066519588232040,-0.184523880481720,-0.034535139799118,-0.093657992780209,-0.054862409830093,-0.059791792184114,-0.068079181015491,-0.013315277174115,0.065118096768856,0.181093662977219,-0.036045294255018,0.140772819519043,-0.006770521402359,-0.148180097341537) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.010242334567010,-0.030952181667089,0.015875376760960,-0.189047068357468,0.043021764606237,-0.164981588721275,-0.078659705817699,0.021392880007625,-0.003768274327740,-0.020823534578085,-0.035014554858208,0.153970524668694,-0.244397267699242,0.028969518840313,-0.094539746642113,-0.015006723813713) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.004634996876121,-0.298696398735046,0.073463380336761,-0.283709645271301,0.047379259020090,-0.029941273853183,-0.024340413510799,-0.141304001212120,0.271165579557419,-0.015474934130907,-0.155052259564400,0.135628744959831,-0.041297066956758,-0.226076558232307,0.065793454647064,-0.101919986307621) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.051751784980297,0.008739721961319,0.025214018300176,0.154924765229225,-0.039487864822149,-0.152633607387543,0.094617784023285,0.137961670756340,-0.044332712888718,0.012003869749606,0.016097022220492,-0.092174492776394,0.052454207092524,0.080757245421410,-0.011184573173523,0.150577962398529) * MODEL7_texOff(vec2(0,1));
res += mat4(0.273605048656464,-0.239601582288742,0.005357479210943,0.004028316121548,-0.077352941036224,0.019446024671197,-0.009153120219707,-0.065052732825279,0.044582188129425,-0.174414440989494,0.039480693638325,0.067506298422813,-0.239132657647133,-0.032999042421579,-0.069476023316383,0.189238861203194) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.023314706981182,-0.057105876505375,-0.024007121101022,0.104642234742641,-0.038508955389261,-0.037735935300589,-0.035155314952135,0.011862524785101,-0.083117410540581,-0.261245489120483,0.048941332846880,-0.045373696833849,0.097822330892086,-0.171164944767952,-0.030359810218215,0.078799203038216) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.040948972105980,-0.237441405653954,0.011086248792708,-0.042535830289125,0.028182167559862,0.008855654858053,-0.071059294044971,0.051299691200256,-0.099232479929924,-0.072548955678940,-0.018527096137404,0.153771951794624,-0.093916736543179,0.065357126295567,0.006996990181506,-0.131936535239220) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.043833222240210,-0.217879369854927,-0.047665547579527,-0.003244722262025,0.169102832674980,-0.092645987868309,0.031484574079514,-0.151928350329399,-0.079591117799282,-0.072421148419380,-0.089563004672527,0.073250152170658,0.006119875237346,0.052308205515146,-0.097049020230770,0.015296755358577) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.111300192773342,-0.261100172996521,0.075303934514523,-0.066550783813000,0.109226889908314,-0.029395181685686,0.052451875060797,-0.005377110093832,0.134474709630013,0.242352530360222,-0.406306058168411,-0.243418335914612,-0.021518936380744,-0.383229672908783,0.217699915170670,0.204755350947380) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.082120381295681,-0.072594590485096,-0.008918232284486,0.124261543154716,0.173312127590179,0.133223891258240,-0.078146062791348,-0.385711908340454,-0.023159978911281,-0.233537986874580,-0.136540368199348,-0.083727665245533,0.020000174641609,0.146230995655060,0.053782906383276,0.117207482457161) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.134204998612404,0.093830347061157,0.055514253675938,-0.091624617576599,-0.114090442657471,0.059555571526289,0.012749964371324,-0.118119023740292,-0.093436166644096,-0.010667022317648,0.019338881596923,0.029261467978358,-0.009296744130552,0.132067963480949,0.013659845106304,0.059839352965355) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.069480098783970,-0.045714057981968,0.072190947830677,-0.168965816497803,-0.078689277172089,0.046045739203691,0.026032213121653,-0.004279838409275,-0.069631367921829,0.182229861617088,0.317331463098526,0.160714089870453,-0.116822913289070,-0.194485306739807,0.027875930070877,-0.152113050222397) * MODEL8_texOff(vec2(0,0));
res += mat4(0.179939150810242,0.217910259962082,-0.009323656558990,0.045983754098415,-0.094864569604397,-0.127777203917503,0.093509621918201,0.221049919724464,0.174052670598030,-0.045423340052366,0.093693189322948,0.148764044046402,-0.021037369966507,0.190640702843666,-0.065321788191795,-0.024207726120949) * MODEL8_texOff(vec2(0,1));
res += mat4(0.049781169742346,0.001917658722959,0.096069298684597,-0.201688125729561,0.282446235418320,-0.017463581636548,0.002001446904615,0.150784894824028,0.032881099730730,0.092262290418148,-0.063948191702366,-0.061074897646904,-0.069098740816116,0.153514042496681,-0.020175194367766,0.194756194949150) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.026545215398073,0.045439843088388,-0.023408273234963,0.009008798748255,0.125609502196312,0.044196683913469,0.048836037516594,0.069858133792877,-0.023489667102695,-0.009098145179451,0.034695811569691,0.039900857955217,-0.062364201992750,-0.171200856566429,-0.047254316508770,-0.134525299072266) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.002449989318848,0.168506652116776,-0.002445174381137,0.097840033471584,0.114296048879623,0.071261912584305,-0.019592195749283,-0.091171793639660,0.129277139902115,-0.125293076038361,-0.027017604559660,-0.061593417078257,-0.015953270718455,0.027467351406813,0.009767710231245,-0.099569626152515) * MODEL8_texOff(vec2(1,1));
res += mat4(0.132045030593872,-0.062275044620037,-0.027967797592282,0.029847024008632,0.072917200624943,0.027421046048403,0.024991039186716,-0.007364118471742,-0.059514090418816,0.157630577683449,0.079519286751747,0.101319633424282,-0.006203508004546,0.236719310283661,0.046743743121624,-0.078285619616508) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.141288161277771,-0.132341951131821,0.029576329514384,0.087592191994190,-0.114358447492123,0.237995222210884,0.069271720945835,-0.404723256826401,0.024822648614645,0.003539673518389,-0.145848438143730,0.177729070186615,0.103218697011471,0.138232395052910,0.094406366348267,-0.237835854291916) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.081779763102531,-0.001472737872973,0.098722487688065,0.025224806740880,-0.048178914934397,-0.071278236806393,0.051477503031492,-0.005056529305875,0.076542466878891,0.113702565431595,0.016061823815107,-0.105045646429062,0.018457591533661,0.405031979084015,-0.015518113039434,0.043680943548679) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.080199584364891,-0.168427988886833,0.120318464934826,-0.124834336340427,0.232520312070847,-0.287229299545288,-0.074245475232601,0.170850098133087,-0.393314421176910,-0.049298845231533,0.053307965397835,-0.092337921261787,0.017594316974282,0.054311424493790,0.045981969684362,-0.059603944420815) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.041142720729113,0.058809038251638,0.155611291527748,0.090577505528927,-0.093801148235798,-0.216432139277458,0.066671758890152,-0.193626865744591,-0.278870940208435,0.118391379714012,-0.043658059090376,-0.166175290942192,0.051510676741600,0.056571401655674,-0.137178346514702,0.011332361027598) * MODEL9_texOff(vec2(0,0));
res += mat4(0.075473032891750,0.269297838211060,0.007270744070411,0.025488715618849,-0.061084255576134,0.086225658655167,-0.016607778146863,-0.205006986856461,-0.013559414073825,0.088328972458839,0.027695927768946,0.203898817300797,-0.146122142672539,-0.021133651956916,-0.055376943200827,-0.107065930962563) * MODEL9_texOff(vec2(0,1));
res += mat4(0.103311493992805,-0.059926822781563,0.023491745814681,0.066478759050369,0.105731263756752,0.004966542124748,-0.033902145922184,0.239344790577888,0.020342476665974,0.051939420402050,0.035297520458698,0.098466344177723,0.133107155561447,-0.159272342920303,-0.105405531823635,-0.091033712029457) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.160135984420776,0.081649370491505,0.071368731558323,-0.193691045045853,-0.146407112479210,-0.079982124269009,-0.141595259308815,-0.146812155842781,-0.015804102644324,0.076847724616528,0.005895175039768,-0.090377636253834,0.101289957761765,-0.255386739969254,0.151900768280029,-0.039595190435648) * MODEL9_texOff(vec2(1,0));
res += mat4(0.098399288952351,0.156536266207695,-0.039468072354794,-0.059553649276495,-0.056014314293861,0.169308722019196,-0.073597058653831,-0.005791875999421,0.053172897547483,0.087324865162373,0.033335532993078,-0.035110123455524,0.024652335792780,-0.253476679325104,0.109435014426708,0.098967604339123) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.157929167151451,-0.004078627564013,0.045224841684103,0.025437232106924,0.055619958788157,-0.131243273615837,-0.089242525398731,0.133287459611893,0.076712228357792,-0.315740048885345,-0.015308995731175,0.078519232571125,-0.040482878684998,0.201978430151939,0.039584625512362,-0.124601714313030) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.078189924359322,-0.053336508572102,0.427275329828262,-0.278477847576141,0.000813646474853,-0.024362465366721,-0.395831674337387,0.094049707055092,0.004780723247677,-0.556578397750854,0.016161147505045,0.175123244524002,-0.037841517478228,0.028999438509345,-0.145581305027008,-0.215705156326294) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.019898504018784,-0.071125440299511,0.162260562181473,0.087166659533978,-0.097632706165314,-0.075653672218323,-0.082593545317650,0.049419660121202,-0.002678283723071,-0.216102704405785,-0.099864043295383,0.057202391326427,0.006237516179681,0.166226759552956,0.034562513232231,-0.312101304531097) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.406566977500916,0.042690239846706,-0.064536675810814,-0.030560405924916,0.287894338369370,-0.069111846387386,-0.044601622968912,-0.090573243796825,-0.033969372510910,-0.127562403678894,0.030820336192846,0.010958999395370,-0.164068222045898,-0.010597595945001,0.040286406874657,-0.103726126253605) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.393874108791351,-0.048679500818253,-0.301687240600586,0.222097381949425,0.051638294011354,-0.221240475773811,-0.086628340184689,-0.000162272597663,0.064430996775627,-0.547509729862213,0.198543488979340,0.200740024447441,-0.135257750749588,-0.169175818562508,-0.003814484691247,-0.013243286870420) * MODEL10_texOff(vec2(0,0));
res += mat4(0.019501479342580,0.107369579374790,-0.126986518502235,-0.042020015418530,0.018728384748101,-0.052790012210608,-0.003351700725034,0.073083393275738,0.028477480635047,-0.272194445133209,0.001274358946830,-0.257570385932922,-0.108853712677956,-0.142924919724464,0.048959504812956,-0.062245920300484) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.177499279379845,0.158794566988945,0.028589364141226,0.093499995768070,-0.051439091563225,0.109520554542542,-0.023595940321684,0.104369260370731,-0.003699802793562,0.016060853376985,-0.003595461370423,0.075889550149441,-0.052485827356577,-0.050162434577942,0.103027045726776,-0.029832355678082) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.170585453510284,0.084538273513317,-0.109437912702560,-0.016164546832442,0.176534399390221,-0.024131841957569,0.288568884134293,-0.070639774203300,0.006842643488199,-0.278484314680099,0.033230677247047,-0.054582953453064,0.093956097960472,-0.190865159034729,0.071850657463074,0.082997940480709) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.055201031267643,0.045895315706730,-0.051080808043480,0.113114431500435,0.039320047944784,0.129929140210152,0.049828365445137,0.018349621444941,0.038208093494177,-0.103288494050503,-0.020429331809282,-0.156319707632065,-0.119989417493343,-0.004349854309112,0.054874543100595,0.032797381281853) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.079146817326546,-0.159784942865372,0.071630857884884,-0.015584028325975,-0.075464472174644,0.268801003694534,-0.038146227598190,-0.014383550733328,-0.048486959189177,-0.022235743701458,0.042575776576996,-0.255447655916214,0.000717107090168,0.235865086317062,-0.119688034057617,-0.205304801464081) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.025074839591980,-0.074315294623375,-0.007678206078708,-0.181358873844147,0.034902669489384,0.100810304284096,0.227273106575012,-0.018992269411683,-0.001109777716920,-0.047993190586567,-0.129481121897697,-0.164639547467232,-0.011556407436728,0.003365643089637,-0.429779529571533,-0.018146254122257) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.067950598895550,-0.032581273466349,-0.047429013997316,-0.002135254675522,0.052630834281445,0.306965738534927,-0.079138129949570,0.110594794154167,0.033580742776394,0.098483003675938,0.025443902239203,-0.076582804322243,0.066218882799149,-0.095422655344009,-0.106224827468395,0.012219386175275) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.175757974386215,-0.052912414073944,-0.000157102549565,0.097447372972965,0.085677936673164,0.192504033446312,-0.045298881828785,0.237903073430061,0.228658601641655,-0.055285509675741,-0.024508368223906,-0.010201198980212,0.149307698011398,-0.087993152439594,-0.106809034943581,0.244737252593040) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.010025211609900,0.126241788268089,-0.136854931712151,0.121280945837498,-0.179532736539841,0.139714241027832,0.000509975885507,0.171688288450241,0.036308228969574,-0.060643859207630,0.028161715716124,0.151803910732269,-0.342587590217590,-0.214961439371109,0.413026183843613,-0.019101003184915) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.102168649435043,-0.110816486179829,0.035299178212881,-0.403701096773148,-0.066606983542442,0.074832037091255,-0.082582600414753,-0.113216683268547,-0.077697433531284,0.090544670820236,0.060459375381470,0.101883724331856,-0.146522223949432,0.003108825534582,0.161053672432899,-0.153138339519501) * MODEL11_texOff(vec2(0,1));
res += mat4(0.073077365756035,0.076649837195873,0.021288260817528,-0.066756501793861,-0.003660377115011,0.120721764862537,0.007692633662373,0.009503081440926,-0.012237378396094,-0.017373688519001,-0.021783316507936,-0.007642679382116,0.067743986845016,0.048616133630276,0.109596163034439,-0.041292440146208) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.056112971156836,-0.006139129865915,0.052785035222769,-0.189628571271896,0.016399193555117,-0.010192165151238,-0.018288861960173,-0.040349822491407,0.005424694158137,-0.185786381363869,0.095174811780453,0.031079951673746,-0.181252509355545,0.033378414809704,0.002443717559800,-0.040701221674681) * MODEL11_texOff(vec2(1,0));
res += mat4(0.089316189289093,-0.009699073620141,-0.002754453569651,0.167116552591324,0.024983206763864,0.065801255404949,0.053234566003084,-0.043040215969086,-0.060465935617685,0.000895087316167,0.006066663656384,0.109063006937504,-0.057909585535526,0.148680284619331,-0.054398864507675,-0.183571085333824) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.174635410308838,-0.015401867218316,0.120107561349869,-0.149487674236298,0.156331211328506,0.022145505994558,0.176089420914650,0.094313889741898,-0.073654912412167,-0.038161780685186,0.073029749095440,-0.242155596613884,0.163350597023964,-0.122915759682655,0.178884178400040,-0.022416632622480) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.064352326095104,0.119472369551659,-0.047571163624525,-0.096962176263332,0.136286750435829,-0.174547508358955,0.078266568481922,0.177517682313919,-0.041668977588415,-0.176812484860420,0.011337745934725,-0.324107170104980,0.082701422274113,-0.454459577798843,0.360298126935959,-0.002190653234720) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.003241712460294,0.005239775404334,0.014809092506766,-0.110736086964607,-0.147898450493813,0.185136467218399,0.107604742050171,-0.026502972468734,0.150994151830673,0.067599073052406,0.003963288385421,0.079819612205029,0.017894936725497,-0.301064014434814,-0.002061119535938,-0.008086412213743) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.209835603833199,-0.059527415782213,0.227652400732040,-0.148684576153755,-0.286324352025986,0.134421110153198,0.089035831391811,0.158388763666153,0.010474649257958,-0.070028044283390,-0.163545399904251,0.008312808349729,0.123873308300972,0.012061401270330,-0.159747496247292,0.019626608118415) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.171858623623848,0.038155019283295,-0.116122692823410,0.072751961648464,-0.033055312931538,0.135573208332062,-0.028860336169600,0.052612438797951,-0.004958393983543,-0.069831609725952,-0.236879885196686,0.235529333353043,-0.011566581204534,0.041242152452469,-0.138563349843025,-0.025462066754699) * MODEL12_texOff(vec2(0,0));
res += mat4(0.060231320559978,0.083409376442432,0.033510290086269,0.041344922035933,0.054454166442156,-0.066540822386742,-0.012601642869413,0.146474495530128,0.166384816169739,0.044111888855696,-0.088880307972431,0.137100860476494,0.018215268850327,0.004905754700303,-0.058742549270391,-0.041349951177835) * MODEL12_texOff(vec2(0,1));
res += mat4(0.019613003358245,-0.170682296156883,-0.025791289284825,-0.030821843072772,0.046352177858353,-0.003134601749480,-0.007946065627038,-0.126981899142265,-0.054651822894812,0.036241978406906,0.011484963819385,-0.025630312040448,-0.057101886719465,0.044003095477819,0.078258387744427,-0.060406457632780) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.040028754621744,-0.031383890658617,-0.101750314235687,0.164899900555611,0.016356965526938,-0.036682829260826,-0.071245267987251,0.143382474780083,0.055273804813623,0.132460713386536,0.237982437014580,-0.098413676023483,0.045918229967356,-0.089467294514179,-0.035935137420893,0.011641045100987) * MODEL12_texOff(vec2(1,0));
res += mat4(0.136596143245697,-0.092728905379772,-0.068857327103615,0.067081533372402,0.050483375787735,0.096576787531376,-0.012824048288167,-0.034624129533768,0.124555945396423,-0.010754792951047,-0.024027364328504,-0.021744536235929,0.053776796907187,0.081426300108433,-0.066070333123207,-0.037451721727848) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.075428962707520,-0.029052803292871,0.508703529834747,0.343076974153519) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 5_2

vec4 hook()
{
vec4 res = vec4(-0.053432837128639,-0.039432957768440,-0.058988858014345,-0.124240845441818);
res += mat4(0.101409345865250,-0.153842642903328,0.036232661455870,-0.017395794391632,0.100810959935188,0.023896427825093,-0.117530286312103,-0.196997374296188,-0.036800310015678,-0.091228745877743,-0.002800896065310,0.107790887355804,0.167331323027611,0.094936847686768,-0.061844713985920,-0.301390647888184) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.185330986976624,0.043920312076807,0.042748343199492,0.070062845945358,0.300632834434509,-0.210993245244026,-0.188160881400108,-0.053943227976561,0.053853113204241,0.014448580332100,-0.031940393149853,-0.142613619565964,0.033647857606411,0.085947997868061,-0.118543989956379,0.125418812036514) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.072933480143547,-0.216694071888924,-0.028090478852391,0.020023582503200,0.033344842493534,-0.295476615428925,0.103960879147053,0.122485727071762,0.092386990785599,-0.288323342800140,0.207700431346893,-0.216205582022667,0.025639390572906,0.165717557072639,-0.040735635906458,-0.033194351941347) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.086800262331963,-0.184840068221092,-0.212828636169434,0.056520901620388,0.022616205736995,0.089533194899559,-0.306299418210983,-0.091161288321018,0.187262609601021,0.182117953896523,0.262368351221085,-0.062856726348400,-0.338896721601486,0.018317330628633,0.184853121638298,-0.033549543470144) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.013064675033092,0.021842543035746,0.152523398399353,-0.111796185374260,0.147957295179367,0.010881965979934,-0.097261719405651,-0.354071170091629,0.160163596272469,0.445921599864960,-0.137548446655273,-0.041659783571959,0.215688332915306,-0.130020618438721,0.013141789473593,0.374602943658829) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.081465348601341,-0.219790369272232,-0.177176311612129,0.089976884424686,0.011478999629617,-0.178545847535133,0.034201309084892,-0.066045030951500,-0.104175232350826,-0.145817443728447,0.035069931298494,-0.054719973355532,0.116748794913292,0.123047478497028,0.055314172059298,-0.036531228572130) * MODEL7_texOff(vec2(0,1));
res += mat4(0.147095412015915,-0.110969275236130,0.235882595181465,0.053659021854401,-0.087655685842037,0.058483239263296,0.176430895924568,0.020072948187590,0.087022952735424,0.126989990472794,-0.240287005901337,-0.136514395475388,-0.201942846179008,-0.000354297575541,0.123375207185745,-0.082299493253231) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.006975575350225,0.150421783328056,-0.099534720182419,-0.039657648652792,-0.187797024846077,-0.060224097222090,-0.032889664173126,0.080757111310959,0.171034395694733,0.219386279582977,0.167838245630264,-0.133320689201355,0.055229179561138,-0.212468624114990,-0.299787461757660,-0.095553353428841) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.080992132425308,-0.021706422790885,0.160798326134682,-0.170443147420883,-0.181259632110596,-0.006699212826788,0.022973855957389,0.094280876219273,-0.036445155739784,-0.183576807379723,0.259242653846741,0.124413654208183,0.068846501410007,0.229247048497200,-0.044787786900997,-0.214831918478012) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.186603054404259,0.178246676921844,0.123491607606411,0.000462547352072,0.013681648299098,0.091560274362564,0.267666965723038,-0.072880126535892,-0.164999261498451,-0.027489589527249,0.141615957021713,0.020751858130097,-0.073952943086624,-0.194817796349525,0.122888244688511,0.222861662507057) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.107719339430332,0.204602852463722,0.171787425875664,0.068881556391716,-0.025554250925779,-0.092335440218449,0.258704185485840,-0.051852170377970,0.259261518716812,-0.151527166366577,-0.287839680910110,0.091509267687798,0.090254440903664,-0.261964946985245,0.327650070190430,-0.127039849758148) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.065599068999290,0.332340151071548,0.035415522754192,0.072328291833401,0.043880674988031,-0.397780627012253,-0.117178179323673,0.336505234241486,0.152088820934296,-0.130980908870697,0.126274406909943,-0.126093059778214,-0.014060894958675,0.038124524056911,0.068193644285202,-0.012167032808065) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.028595875948668,-0.256838321685791,-0.431111872196198,-0.032162178307772,0.051047019660473,0.171098425984383,0.162084475159645,-0.042804311960936,-0.185252830386162,0.298163324594498,-0.022849692031741,-0.137743577361107,0.060216132551432,-0.237394481897354,0.221861854195595,-0.074277304112911) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.182285472750664,-0.264960199594498,0.127585470676422,-0.162188991904259,0.031782973557711,0.214356943964958,-0.153038159012794,0.161331161856651,-0.287211924791336,0.139494910836220,0.080111443996429,-0.287696868181229,0.099633254110813,-0.185203969478607,0.281062871217728,0.194871410727501) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.049254655838013,0.417268395423889,-0.052595373243093,0.085194177925587,0.142368644475937,-0.186885148286819,-0.145944222807884,0.032615061849356,0.063520744442940,-0.061453603208065,0.036347400397062,-0.094266973435879,-0.095951326191425,0.065851435065269,-0.028067274019122,0.023684868589044) * MODEL8_texOff(vec2(0,1));
res += mat4(0.154436960816383,-0.243649527430534,-0.019596818834543,-0.108981117606163,-0.054313760250807,-0.021819999441504,-0.139989465475082,-0.028934616595507,-0.034176625311375,-0.004918926861137,-0.134773939847946,-0.027175854891539,0.054016470909119,-0.199888303875923,0.052261542528868,0.082070328295231) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.003205278422683,-0.147383049130440,-0.057966988533735,-0.029052693396807,-0.002657044678926,0.021836308762431,-0.220803096890450,0.016683312132955,0.008097706362605,-0.055961154401302,0.127805888652802,-0.041888467967510,-0.004107164684683,-0.077624700963497,-0.111474610865116,0.054717514663935) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.058670721948147,0.198799222707748,0.076875604689121,0.133457139134407,0.030677394941449,-0.117034927010536,0.017826503142715,0.073876976966858,-0.082352504134178,0.086273491382599,-0.209754541516304,-0.078497447073460,0.048626393079758,0.260044366121292,-0.012060821056366,-0.134058311581612) * MODEL8_texOff(vec2(1,1));
res += mat4(0.128841310739517,-0.036636002361774,0.020222360268235,-0.284594446420670,-0.013488872908056,0.024623271077871,-0.011147645302117,-0.032031055539846,0.016308484598994,-0.294873684644699,0.012895029969513,-0.121344923973083,0.030052039772272,-0.123771071434021,0.093550056219101,-0.101599335670471) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.008467167615891,0.079626366496086,0.073135346174240,0.220667704939842,-0.105435319244862,0.025840854272246,-0.022479169070721,0.231695100665092,-0.068414866924286,-0.261398553848267,-0.066717214882374,-0.114978283643723,0.176205068826675,-0.132531821727753,0.110460281372070,0.010187488980591) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.014869366772473,0.018031416460872,0.143547594547272,0.046663776040077,-0.066275641322136,-0.167658895254135,-0.000588800467085,-0.022803211584687,0.021178867667913,0.067347951233387,-0.045800782740116,-0.108174435794353,0.103226736187935,-0.181572422385216,-0.138033360242844,0.141988337039948) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.028868956491351,0.145624861121178,0.065599516034126,-0.177009508013725,0.015048663131893,0.158065438270569,-0.268300026655197,-0.045010354369879,0.020998334512115,-0.158912599086761,-0.157191604375839,-0.121960312128067,0.297076702117920,0.234733909368515,-0.088566683232784,-0.047658808529377) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.302070885896683,-0.188090026378632,0.099999435245991,0.238800987601280,0.142365977168083,-0.044480022042990,-0.095438890159130,-0.071966230869293,-0.008234773762524,-0.462284803390503,0.282586187124252,0.056107625365257,0.019559433683753,0.041843000799417,-0.297901421785355,-0.104575060307980) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.004834866616875,0.069479405879974,-0.112714387476444,0.212100207805634,-0.025769155472517,-0.056078914552927,-0.003133270191029,-0.028857886791229,-0.332663238048553,0.151338264346123,-0.037854328751564,0.075949773192406,-0.189434319734573,-0.153887927532196,0.110835202038288,-0.203829497098923) * MODEL9_texOff(vec2(0,1));
res += mat4(0.072841130197048,-0.031558904796839,-0.151516243815422,-0.300335407257080,-0.067633628845215,-0.107142113149166,0.064183019101620,-0.110733605921268,0.043096728622913,-0.015894358977675,0.015990873798728,-0.013913665898144,0.165015876293182,0.083982415497303,-0.254656195640564,-0.022598238661885) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.216231986880302,-0.022576773539186,-0.135864570736885,0.109301291406155,-0.073199860751629,0.078422486782074,-0.219235137104988,-0.144737675786018,0.047279246151447,-0.184730768203735,-0.077819176018238,-0.283859819173813,-0.061490464955568,0.263826131820679,0.100326672196388,-0.275366485118866) * MODEL9_texOff(vec2(1,0));
res += mat4(0.120211444795132,0.097515463829041,-0.046054933220148,0.111109703779221,0.076564289629459,-0.014359628781676,0.036102164536715,-0.206058740615845,0.068863771855831,-0.026108372956514,-0.063629977405071,-0.123139560222626,0.046991746872663,-0.004838281776756,0.155404731631279,0.118081942200661) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.105972774326801,-0.119946464896202,0.067600525915623,0.009937192313373,0.119639761745930,0.228367924690247,-0.078042529523373,-0.049378424882889,-0.051651507616043,0.086926236748695,-0.006488387938589,-0.010707329027355,-0.229091107845306,0.076388753950596,-0.019829118624330,0.117255479097366) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.310422152280807,0.006409534253180,-0.108819581568241,0.007312404923141,-0.185185164213181,0.131164416670799,-0.067130245268345,-0.005515395198017,0.011836081743240,0.124727658927441,0.033008292317390,-0.091372676193714,-0.125751912593842,0.175289958715439,-0.009976607747376,0.121818915009499) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.246309444308281,0.135612577199936,0.067383676767349,-0.164128303527832,0.233996838331223,-0.123041220009327,0.107390172779560,0.009091241285205,-0.017408760264516,0.141402870416641,-0.010507736355066,0.067791923880577,-0.011082094162703,0.051734998822212,-0.092080093920231,-0.104136087000370) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.166069552302361,-0.215276047587395,0.102295942604542,-0.037069160491228,0.095778003334999,0.073813132941723,0.069228954613209,0.158470273017883,-0.060328319668770,-0.175810694694519,-0.000179238471901,0.149326816201210,-0.240296036005020,-0.152329698204994,0.044365178793669,-0.108225636184216) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.344286888837814,-0.240713834762573,-0.182929381728172,-0.118160851299763,-0.187835946679115,0.305270880460739,0.048357415944338,0.109060280025005,-0.254448503255844,-0.281248211860657,0.094010949134827,0.273539245128632,-0.019535483792424,-0.139576375484467,0.124689482152462,-0.153707116842270) * MODEL10_texOff(vec2(0,0));
res += mat4(0.192747414112091,-0.086454905569553,-0.116661205887794,-0.221152648329735,0.132358461618423,0.195534750819206,0.008398364298046,0.268087238073349,-0.033699329942465,-0.078742153942585,-0.048062082380056,-0.031148577108979,-0.027007106691599,-0.284606218338013,-0.026913873851299,0.043005488812923) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.045209642499685,-0.023210611194372,-0.111123278737068,0.127695798873901,0.070072963833809,-0.147581726312637,0.143159776926041,-0.081306770443916,-0.119871020317078,-0.080078922212124,-0.082057096064091,0.140662997961044,0.038005404174328,-0.145840018987656,-0.042845476418734,0.060599647462368) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.038926273584366,-0.020962467417121,0.096532419323921,0.128583893179893,-0.134538978338242,-0.146180346608162,-0.293679863214493,0.048433609306812,-0.264191538095474,-0.350201070308685,0.087669283151627,-0.109966158866882,0.088734313845634,-0.060244139283895,-0.043636042624712,-0.088450141251087) * MODEL10_texOff(vec2(1,0));
res += mat4(0.020184444263577,0.123691134154797,0.036931939423084,0.074614822864532,0.114288896322250,-0.205149322748184,0.050684086978436,0.056809127330780,-0.154565826058388,-0.134083896875381,-0.006411075126380,-0.266177773475647,0.314696520566940,0.053006954491138,0.140972495079041,-0.160208344459534) * MODEL10_texOff(vec2(1,1));
res += mat4(0.097960531711578,0.058391790837049,0.215232551097870,-0.034936711192131,-0.147809550166130,0.126829594373703,-0.142885103821754,0.220812350511551,0.048216555267572,0.207635939121246,-0.063630610704422,-0.191218167543411,0.121170178055763,0.108000248670578,-0.053363423794508,0.247787415981293) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.036304656416178,0.036004737019539,0.168623611330986,-0.216500416398048,0.047312375158072,-0.093650221824646,0.041279289871454,-0.013908755965531,0.025716416537762,0.135821372270584,-0.047197155654430,0.044931679964066,0.194177404046059,0.057710576802492,-0.138603508472443,-0.037501309067011) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.133279532194138,0.298203676939011,-0.137231826782227,-0.012123664841056,0.107841983437538,0.162384584546089,-0.092021256685257,0.264516264200211,-0.118897229433060,0.110628746449947,-0.061834610998631,-0.021235758438706,-0.033517993986607,-0.279525697231293,0.148074999451637,-0.178537636995316) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.061510853469372,0.005054178647697,-0.193312183022499,0.003131900215521,-0.056579560041428,0.154302120208740,0.068342193961143,0.049939803779125,-0.069500848650932,-0.076799146831036,0.010146158747375,0.209440365433693,0.250351428985596,0.084311366081238,-0.332409501075745,0.036732319742441) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.492636412382126,0.183926656842232,-0.102562911808491,-0.277128934860229,-0.011090496554971,0.022037686780095,-0.251618564128876,0.021743241697550,0.313259929418564,0.019397191703320,-0.059415563941002,-0.080248832702637,-0.195938959717751,0.014265693724155,0.066608019173145,-0.038668442517519) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.274624556303024,0.368593305349350,0.130291551351547,0.000114339898573,0.102646604180336,-0.081741049885750,0.062011461704969,0.050601806491613,0.171322509646416,-0.227676257491112,-0.117731183767319,0.092285580933094,-0.325109660625458,-0.189681559801102,0.182277843356133,0.056304156780243) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.179137766361237,-0.167111143469810,-0.019886141642928,-0.088099963963032,0.090671777725220,-0.029982820153236,0.226616829633713,0.127245679497719,-0.027080526575446,-0.100022450089455,-0.188143983483315,-0.212612524628639,0.142887279391289,0.084690302610397,0.049901969730854,0.210926696658134) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.241441830992699,-0.031390540301800,0.041944555938244,-0.060347396880388,-0.053742341697216,0.095945425331593,-0.182645246386528,0.051984988152981,0.317653477191925,0.139563426375389,-0.241202950477600,-0.117869243025780,0.050022765994072,-0.047490503638983,0.138850390911102,0.063734076917171) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.174433991312981,0.176506593823433,-0.113424852490425,0.028839465230703,-0.139755070209503,-0.038279719650745,-0.086086794734001,-0.081371732056141,-0.002639754442498,-0.099041312932968,-0.119872316718102,-0.163265824317932,-0.104700744152069,-0.111582055687904,-0.012120817787945,-0.195270180702209) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.200125679373741,-0.021237701177597,-0.135755330324173,0.099044963717461,-0.150922641158104,-0.038715008646250,-0.011670873500407,-0.067760795354843,-0.061447151005268,-0.004319310188293,0.157605245709419,0.042513824999332,-0.106257647275925,-0.066363453865051,-0.028359411284328,0.183486744761467) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.113852500915527,-0.043926838785410,-0.029318660497665,-0.091990664601326,0.011142434552312,-0.215830281376839,-0.381907284259796,0.055482070893049,0.113694913685322,-0.060846101492643,-0.320628583431244,0.283820509910583,-0.540755987167358,0.266082078218460,0.015479424037039,0.042629335075617) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.176762431859970,-0.062925197184086,0.112767249345779,0.080380327999592,-0.030044272542000,0.094020269811153,0.106600023806095,-0.125622779130936,-0.025954525917768,-0.198504969477654,0.198230832815170,-0.123208798468113,-0.387586891651154,0.216872304677963,-0.054493002593517,0.119429588317871) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.143403872847557,0.112021863460541,-0.137533351778984,-0.096820652484894,-0.071646578609943,0.139677882194519,-0.077125407755375,0.148112565279007,0.074774704873562,0.154479712247849,0.119373284280300,-0.167693287134171,0.087352544069290,-0.110856428742409,0.473783552646637,0.126581773161888) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.010744440369308,-0.098126165568829,0.052628103643656,-0.267735034227371,0.085211299359798,-0.122872844338417,-0.327388226985931,0.200716152787209,0.209494069218636,0.098391294479370,-0.027255825698376,-0.326202154159546,0.326768785715103,-0.134724214673042,0.020906088873744,-0.067297615110874) * MODEL12_texOff(vec2(0,0));
res += mat4(0.034228403121233,-0.042589928954840,-0.167239665985107,0.064272291958332,-0.035030346363783,-0.031011730432510,-0.039058927446604,0.000110423919978,-0.047553762793541,0.085153870284557,0.155366405844688,0.008580403402448,0.010509033687413,0.046564225107431,-0.220264479517937,0.038204517215490) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.159919574856758,0.185905411839485,-0.015898648649454,0.143858954310417,-0.085309922695160,-0.056918941438198,-0.056664790958166,0.242704644799232,-0.135978221893311,-0.042162660509348,-0.149600625038147,0.007761924061924,0.007095970213413,0.059812419116497,-0.043566938489676,0.030147245153785) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.031013421714306,0.062105469405651,0.167542427778244,-0.033133998513222,-0.069011591374874,0.025028092786670,0.178685307502747,-0.041214458644390,-0.091056816279888,0.072635523974895,-0.215095013380051,0.108482033014297,0.172933980822563,-0.015644114464521,0.020968029275537,-0.151323541998863) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.162872359156609,0.010827703401446,-0.167249619960785,0.169260039925575,-0.119340769946575,-0.018761539831758,0.026740796864033,-0.014637766405940,-0.077269904315472,-0.005488142836839,0.150897070765495,0.180402547121048,0.047910783439875,0.032352153211832,-0.133798480033875,-0.128210440278053) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.079869873821735,-0.008565255440772,-0.119140446186066,0.231378450989723) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 5_3

vec4 hook()
{
vec4 res = vec4(-0.000437101960415,-0.097937084734440,0.028291551396251,-0.163326814770699);
res += mat4(0.003645917400718,-0.294486045837402,-0.006207661237568,-0.055543094873428,-0.047098159790039,-0.100025914609432,-0.145287513732910,0.097016155719757,0.083505474030972,-0.168878227472305,0.001035580877215,0.036243673413992,0.014359010383487,-0.015141290612519,0.010017177090049,-0.073232658207417) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.148506984114647,-0.125322252511978,-0.031602155417204,0.037262450903654,0.024066608399153,-0.006358271930367,-0.201513931155205,-0.122654974460602,-0.099294930696487,-0.034816451370716,0.062921933829784,-0.109787933528423,0.065571270883083,0.060157570987940,0.077172018587589,0.061867244541645) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.026808442547917,0.036138985306025,-0.033522125333548,0.012888967990875,-0.062478214502335,-0.042361423373222,-0.020648371428251,-0.017013469710946,-0.017766917124391,0.123861044645309,0.066775083541870,-0.154245898127556,0.098660379648209,0.017842704430223,-0.069444164633751,0.092640236020088) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.004673891700804,-0.074904441833496,-0.117654643952847,-0.014580566436052,-0.009101587347686,-0.146666362881660,0.082112886011600,-0.046059541404247,-0.018576454371214,-0.071206815540791,-0.267204642295837,-0.045824561268091,-0.082411795854568,0.060693256556988,0.010230439715087,0.297194957733154) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.047968797385693,0.026114629581571,-0.050975546240807,0.077930070459843,-0.085461676120758,-0.024210255593061,-0.046534620225430,-0.051145959645510,-0.271491259336472,-0.119684062898159,0.005523071624339,-0.014580639079213,0.171893134713173,0.002480318304151,0.158134356141090,0.076558083295822) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.070057146251202,0.020494410768151,0.031230827793479,0.110832594335079,0.061002839356661,0.020700324326754,0.119195319712162,-0.046684056520462,0.000547323958017,0.076380357146263,0.051198832690716,-0.067164391279221,-0.015023675747216,-0.082803130149841,-0.069289781153202,-0.182464748620987) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.033203013241291,-0.043841566890478,0.065271519124508,0.047050166875124,-0.038897410035133,0.077693387866020,0.016844604164362,0.003694828599691,0.069877617061138,-0.125066980719566,-0.161167517304420,0.089459046721458,-0.027183586731553,0.030463300645351,0.176556438207626,0.034354008734226) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.004794423468411,0.004829132929444,0.059476032853127,0.024205146357417,-0.078321106731892,0.074321538209915,0.063969142735004,0.021168023347855,-0.076058164238930,-0.003442067652941,0.000706045771949,0.210435613989830,0.169940784573555,0.076555393636227,0.151447460055351,-0.144325673580170) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.041250150650740,-0.013342027552426,0.054034840315580,-0.032356690615416,-0.054779771715403,0.018762819468975,0.136253103613853,0.026076178997755,0.127488300204277,0.073987402021885,0.124346472322941,0.117347821593285,-0.078436546027660,0.003136213868856,-0.039015647023916,0.054785657674074) * MODEL7_texOff(vec2(1,1));
res += mat4(0.045275267213583,-0.060144226998091,-0.095467180013657,0.062692791223526,0.113126456737518,-0.058815494179726,0.056062068790197,-0.023709392175078,0.256397545337677,-0.326168119907379,-0.158024653792381,0.100366093218327,-0.007805929519236,-0.130086958408356,-0.111437462270260,-0.080459423363209) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.112353466451168,0.098795473575592,-0.077347338199615,0.089534625411034,-0.107198789715767,0.047828234732151,0.071298532187939,-0.025718584656715,0.104875341057777,0.028378691524267,-0.085624143481255,0.170880794525146,0.110866993665695,-0.062681674957275,-0.026904271915555,-0.068421781063080) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.113781534135342,0.054688390344381,0.132254511117935,0.123801045119762,0.000820835237391,-0.021721730008721,0.077890090644360,0.355295717716217,0.048542570322752,-0.143246889114380,-0.024931926280260,0.069158770143986,0.000958355842158,-0.040762152522802,0.080934397876263,-0.134610235691071) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.147842809557915,0.227888435125351,0.231033086776733,-0.235060200095177,0.031051550060511,-0.079013168811798,-0.122851818799973,0.259768903255463,-0.082572497427464,0.173640698194504,0.089723855257034,-0.120081767439842,0.103729724884033,-0.257113188505173,-0.138569951057434,0.070656716823578) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.100447930395603,-0.199681192636490,-0.225524321198463,-0.194950088858604,0.152525871992111,0.038173135370016,-0.072894744575024,0.107714042067528,-0.163909688591957,-0.320053905248642,-0.228267267346382,0.051224198192358,0.001077109132893,0.018736945465207,0.034812495112419,-0.100238598883152) * MODEL8_texOff(vec2(0,0));
res += mat4(0.033154137432575,-0.112597517669201,0.111203499138355,0.000543768750504,0.227124214172363,0.062220536172390,-0.173402383923531,-0.108589582145214,0.115459866821766,-0.072476789355278,0.288684338331223,-0.011802351102233,-0.068146817386150,0.069545961916447,-0.017988065257668,0.029737265780568) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.089501030743122,0.025036178529263,-0.058569293469191,0.110335990786552,-0.150723308324814,-0.182549580931664,0.108437493443489,-0.115482613444328,0.115077137947083,0.023216644302011,0.092195987701416,-0.091828666627407,0.031481977552176,-0.049987923353910,-0.168709635734558,0.011178471148014) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.002541844500229,-0.005904188845307,0.005091036204249,-0.189377769827843,-0.079655975103378,-0.019440770149231,-0.056649710983038,-0.105019725859165,0.110876768827438,0.113107480108738,-0.111724451184273,-0.074254430830479,0.031703960150480,0.072296872735023,0.168661549687386,-0.166427880525589) * MODEL8_texOff(vec2(1,0));
res += mat4(0.075647190213203,-0.027935422956944,0.127772748470306,-0.082849510014057,-0.031405948102474,0.038352735340595,0.029673941433430,-0.011808826588094,-0.105725511908531,-0.032313622534275,0.086949676275253,-0.069160006940365,0.010193532332778,-0.066964738070965,-0.032277025282383,-0.041249256581068) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.115691430866718,-0.019171722233295,-0.041224945336580,0.035134714096785,-0.109973683953285,-0.022099155932665,0.036074824631214,0.044576931744814,0.144717931747437,-0.093976892530918,-0.040797691792250,-0.055112563073635,-0.039497945457697,-0.185502663254738,-0.128013029694557,-0.027146602049470) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.007291526999325,-0.110627718269825,0.015014429576695,-0.013088303618133,-0.134700715541840,-0.017121875658631,0.051058318465948,-0.003678243840113,0.020932976156473,-0.073828555643559,-0.085138916969299,-0.099320024251938,-0.006847123615444,-0.201076433062553,-0.236301153898239,-0.001443224842660) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.034812290221453,0.029832899570465,-0.044900197535753,0.091482296586037,0.041755195707083,-0.003467937232926,-0.058071874082088,-0.049945984035730,-0.087650924921036,0.030058203265071,-0.015561816282570,0.031263947486877,-0.004767779260874,0.022911135107279,-0.068745188415051,-0.032706029713154) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.008110935799778,-0.127545490860939,-0.026388311758637,0.021770855411887,-0.054717849940062,-0.350548207759857,-0.102464020252228,-0.074149437248707,0.178924575448036,-0.084344483911991,-0.087557248771191,-0.048433333635330,0.119664788246155,-0.019290046766400,0.086507782340050,0.073044657707214) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.156137108802795,-0.127986013889313,0.155027613043785,-0.047525797039270,-0.268148869276047,-0.143785506486893,-0.250941038131714,-0.377737730741501,0.192009344696999,0.054683312773705,-0.123860113322735,0.090175405144691,-0.394533127546310,0.063995428383350,0.235761672258377,-0.265901565551758) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.053786303848028,0.060523401945829,-0.216257870197296,0.071212798357010,-0.060609094798565,0.035070702433586,-0.125927150249481,-0.008069733157754,-0.050124008208513,0.074369251728058,-0.086891256272793,-0.043634004890919,0.108220294117928,0.002120164223015,-0.086941324174404,-0.163224801421165) * MODEL9_texOff(vec2(0,1));
res += mat4(0.191168442368507,0.004039332736284,0.035454541444778,-0.149482995271683,-0.137029588222504,0.077303022146225,0.300422638654709,0.071711897850037,0.136116370558739,-0.010325366631150,-0.054333314299583,0.029528591781855,0.166247054934502,-0.033039208501577,-0.005415002815425,0.105237223207951) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.202092632651329,0.129362925887108,-0.008298451080918,-0.088848233222961,-0.185993328690529,0.100401297211647,0.164320588111877,0.075560718774796,0.164449587464333,0.022974425926805,0.032577361911535,0.001013514818624,-0.013270714320242,-0.092851929366589,-0.281601846218109,0.182624518871307) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.011959832161665,-0.039613522589207,-0.129275351762772,-0.166071832180023,0.049950376152992,0.104287385940552,-0.249399647116661,0.003868184518069,-0.060189008712769,-0.024255758151412,-0.160699129104614,0.080117419362068,0.058652888983488,-0.112927511334419,-0.034819670021534,0.298483759164810) * MODEL9_texOff(vec2(1,1));
res += mat4(0.045214399695396,-0.022532498463988,-0.092208363115788,-0.011596530675888,-0.061759259551764,0.042057696729898,0.007352682761848,0.048881080001593,-0.010256112553179,0.056663341820240,-0.032124701887369,-0.099094271659851,-0.012755382806063,-0.093333676457405,0.085446760058403,-0.002283385721967) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.043004907667637,0.263601630926132,-0.047094136476517,-0.101855322718620,-0.054316736757755,-0.221498817205429,-0.031840771436691,0.096390098333359,-0.063510037958622,0.134540647268295,-0.057352181524038,0.004653869662434,-0.022582868114114,-0.013592042960227,0.003302210243419,0.041562255471945) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.027365706861019,-0.038053993135691,-0.059448111802340,-0.011818753555417,0.084548592567444,0.140958577394485,-0.128546625375748,0.058934856206179,0.087131604552269,0.032271619886160,-0.033085480332375,0.027062261477113,-0.018307415768504,-0.006960979662836,-0.005895735230297,0.078559510409832) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.275524139404297,-0.142465427517891,-0.012612821534276,0.038261100649834,-0.035241141915321,0.326457679271698,-0.000993804540485,-0.045456364750862,-0.103619329631329,0.111859314143658,-0.073093995451927,-0.067192621529102,0.119892172515392,-0.079876050353050,0.091550230979919,0.029913298785686) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.016451654955745,0.086913794279099,-0.203947946429253,-0.085740223526955,0.115640901029110,-0.289421081542969,0.013216479681432,0.122732043266296,-0.013970050029457,0.131441310048103,-0.147397220134735,0.121431246399879,0.154898852109909,0.074768275022507,-0.089719697833061,-0.277095913887024) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.087158553302288,-0.060443624854088,0.066468574106693,-0.070583507418633,0.235200539231300,0.398124396800995,-0.079233214259148,0.135963797569275,-0.001324144541286,0.021283747628331,0.001391366822645,0.155778482556343,0.165585741400719,0.086683109402657,-0.145209267735481,0.080709457397461) * MODEL10_texOff(vec2(0,1));
res += mat4(0.149369955062866,-0.163110211491585,-0.182992324233055,-0.025994241237640,-0.211137950420380,0.148279145359993,0.002321003470570,-0.039780493825674,-0.282112866640091,0.074063651263714,-0.284149259328842,-0.059662651270628,0.181358113884926,-0.114997304975986,-0.018567332997918,0.118922635912895) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.247468948364258,-0.020041912794113,-0.344469994306564,0.275751858949661,-0.386942744255066,-0.201941058039665,0.065969064831734,-0.143906101584435,-0.197887778282166,0.000423383404268,-0.616340517997742,0.149863809347153,0.132103830575943,0.049877021461725,0.019576312974095,0.043235391378403) * MODEL10_texOff(vec2(1,0));
res += mat4(0.108804352581501,0.057578943669796,-0.031445819884539,0.090457066893578,0.023145975545049,-0.021982444450259,-0.182404413819313,0.081489056348801,-0.071802154183388,-0.034646145999432,-0.018502842634916,0.112725086510181,0.091478720307350,0.098478652536869,-0.120192222297192,-0.142789959907532) * MODEL10_texOff(vec2(1,1));
res += mat4(0.157985746860504,-0.133729919791222,0.089979544281960,0.020378014072776,0.089979484677315,0.072943270206451,0.045393444597721,-0.047101669013500,0.032399650663137,-0.145852714776993,0.101021945476532,0.017303742468357,0.296221911907196,-0.058136470615864,-0.059256073087454,0.165543287992477) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.102619305253029,-0.245253697037697,0.073709905147552,0.002885067136958,-0.037033513188362,0.000470103783300,-0.085109971463680,-0.167399823665619,0.033968519419432,0.000059068028349,0.078307241201401,0.051051348447800,0.196687474846840,-0.084305413067341,-0.199784055352211,0.296497076749802) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.001660281326622,0.000697555311490,0.105123378336430,-0.018916880711913,0.062003027647734,-0.041753552854061,0.008435451425612,0.083688795566559,-0.039142206311226,0.049008604139090,-0.062573187053204,-0.015067677944899,0.032757431268692,-0.071400113403797,-0.059917014092207,0.051430366933346) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.070584550499916,-0.043583538383245,-0.038839221000671,-0.085921652615070,-0.191231682896614,0.159541130065918,-0.060645885765553,-0.087736479938030,-0.073830544948578,-0.103208594024181,-0.018960842862725,-0.112552061676979,-0.079087026417255,0.281201988458633,-0.119734600186348,0.055923335254192) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.183810666203499,-0.020497949793935,0.079254746437073,-0.168707132339478,-0.088908262550831,-0.206024944782257,0.003750724485144,-0.045818623155355,-0.046490505337715,0.070071049034595,0.036034531891346,-0.060549918562174,-0.471154630184174,-0.278476566076279,-0.300838381052017,0.189565360546112) * MODEL11_texOff(vec2(0,0));
res += mat4(0.193113699555397,0.111132733523846,0.230792596936226,-0.109704174101353,0.142819434404373,-0.253258556127548,-0.018206493929029,-0.056574117392302,-0.103915296494961,0.075006723403931,-0.124336250126362,-0.043933495879173,0.035669542849064,0.131460145115852,-0.184312328696251,0.205840021371841) * MODEL11_texOff(vec2(0,1));
res += mat4(0.066975235939026,0.008571304380894,-0.127641439437866,-0.057349216192961,-0.123210363090038,-0.119752407073975,0.071464076638222,0.100326798856258,0.049206323921680,0.035560108721256,0.013878447934985,0.036915741860867,0.004463474731892,0.046080738306046,0.161224350333214,-0.126401558518410) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.027745353057981,-0.056398306041956,-0.033577263355255,0.326896697282791,0.270330160856247,-0.117113515734673,0.141967743635178,-0.015699770301580,0.012670574709773,-0.011410391889513,-0.084707513451576,0.239207521080971,-0.040116850286722,0.189859658479691,0.240605756640434,-0.543365180492401) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.046723894774914,-0.051176387816668,0.162258386611938,0.172688499093056,0.188144475221634,0.013647518120706,0.165564119815826,-0.044941876083612,-0.225960940122604,-0.049387332051992,-0.169231891632080,0.027521047741175,0.094543009996414,0.152696922421455,-0.180913537740707,-0.334768921136856) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.023297009989619,0.152081325650215,0.098827533423901,0.043558869510889,0.030797680839896,-0.092275388538837,-0.057755634188652,0.114653490483761,-0.030276522040367,-0.117027550935745,0.089637994766235,0.090569041669369,0.103752121329308,0.052314519882202,-0.128504484891891,0.047192797064781) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.195930734276772,-0.087365873157978,0.101702965795994,-0.004979929421097,0.145393490791321,-0.000632628216408,0.115769371390343,0.102257303893566,0.201709881424904,0.144084274768829,0.085020959377289,-0.011472872458398,-0.192324340343475,0.208744928240776,0.048590399324894,0.025766560807824) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.051118522882462,0.003628530772403,0.058111809194088,0.051705434918404,-0.092692241072655,0.140410125255585,0.003507337998599,-0.026608029380441,-0.131779447197914,0.023754494264722,-0.082940451800823,-0.014649873599410,0.126149773597717,-0.046317424625158,0.078242771327496,-0.002684779465199) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.098125144839287,-0.151427075266838,-0.134186774492264,-0.160819590091705,0.062515974044800,-0.128461837768555,-0.333213835954666,0.137805119156837,0.103804200887680,-0.204487636685371,-0.076781027019024,0.036204293370247,-0.115029744803905,-0.237213015556335,0.025354309007525,-0.162036299705505) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.034708820283413,-0.140054464340210,0.058639634400606,0.075224816799164,-0.077725030481815,-0.081765398383141,-0.081595517694950,0.302481651306152,0.093349419534206,0.324816644191742,-0.019766032695770,-0.167874157428741,0.043327525258064,0.142427369952202,0.227547571063042,-0.344427138566971) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.032299891114235,0.165947154164314,0.015308124013245,0.158545315265656,-0.243591919541359,-0.028635371476412,-0.141148477792740,0.205753073096275,-0.232277750968933,-0.186397537589073,-0.191967874765396,-0.129571944475174,-0.159819722175598,0.048012595623732,0.138476863503456,-0.175629332661629) * MODEL12_texOff(vec2(0,1));
res += mat4(0.028156513348222,-0.028081603348255,-0.023389877751470,-0.060804039239883,0.135400697588921,-0.054883293807507,-0.094203278422356,-0.154596433043480,-0.065076880156994,0.061527639627457,-0.030431525781751,0.009094825014472,-0.047158654779196,0.159434497356415,-0.079793281853199,-0.023907907307148) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.056251365691423,-0.085973538458347,-0.031809031963348,-0.001115591847338,0.100276380777359,0.001394526916556,0.034219074994326,-0.130444809794426,-0.115001291036606,-0.254740804433823,-0.125209704041481,0.180382490158081,-0.156124860048294,0.044648800045252,-0.218917414546013,0.033670049160719) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.074394270777702,0.070167295634747,-0.149401947855949,0.164981827139854,0.093607433140278,0.059185400605202,0.157415986061096,-0.072196193039417,-0.079314298927784,0.022000454366207,-0.127960234880447,0.143774792551994,-0.013699487783015,0.015418186783791,-0.050119131803513,0.090419284999371) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.707396864891052,0.842823624610901,0.000326094886987,-0.147008508443832) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 5_4

vec4 hook()
{
vec4 res = vec4(-0.004441295750439,-0.066872760653496,0.017658066004515,-0.207265228033066);
res += mat4(0.047630473971367,0.061395741999149,0.145559877157211,-0.054699372500181,-0.071346975862980,-0.131979361176491,-0.013750554062426,-0.497468411922455,0.034045051783323,0.030175082385540,-0.071496739983559,0.108051307499409,-0.013456153683364,0.189732298254967,0.109133005142212,0.188775509595871) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.102780364453793,-0.037334579974413,-0.038491416722536,0.035496637225151,0.067698486149311,0.098007000982761,0.180660337209702,-0.046024836599827,0.069732345640659,0.253416359424591,-0.121471099555492,-0.197542160749435,0.022110063582659,0.051994014531374,0.182271167635918,0.140358835458755) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.091494277119637,-0.077492892742157,0.148070111870766,-0.044272881001234,-0.050018765032291,0.063134096562862,0.007996941916645,0.006481248419732,-0.093207992613316,0.281592756509781,-0.149526029825211,0.093283399939537,0.057761963456869,-0.082558162510395,0.031298018991947,0.208259284496307) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.006171190645546,-0.004636586643755,0.126017123460770,0.081812597811222,-0.038455687463284,-0.066269092261791,-0.082220315933228,-0.146741002798080,-0.017875760793686,0.153881505131721,0.099269106984138,-0.174998760223389,0.010344138368964,0.051942966878414,0.076578035950661,0.002451928798109) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.046823233366013,0.102418765425682,-0.106782384216785,0.096495918929577,0.045932363718748,0.152733817696571,0.054566148668528,-0.054563850164413,-0.062256023287773,-0.141883805394173,0.067261710762978,0.187910586595535,0.073025777935982,-0.069012396037579,0.015112279914320,-0.113764256238937) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.001204076688737,0.014038966037333,0.129319265484810,0.061318259686232,-0.040085252374411,-0.090971969068050,-0.049504987895489,-0.096357546746731,-0.014198418706656,0.384682208299637,0.075848944485188,-0.051628954708576,0.100394174456596,-0.190000936388969,-0.075460143387318,-0.231186151504517) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.070920929312706,-0.152752563357353,-0.048509247601032,-0.123035140335560,-0.007668746635318,0.052061956375837,-0.210880205035210,0.038351692259312,-0.016454225406051,0.203865021467209,0.061350841075182,0.030145894736052,-0.026402346789837,-0.059259038418531,0.179216563701630,0.119510896503925) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.006003481801599,-0.126701742410660,0.124974824488163,0.066937498748302,0.059137742966413,-0.020481342449784,-0.000708675768692,0.046770706772804,0.025921739637852,0.243109494447708,0.049368098378181,-0.207702398300171,0.031123910099268,0.077582225203514,0.260042637586594,0.240443170070648) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.045261424034834,0.108303815126419,0.147196263074875,-0.091125145554543,-0.009316366165876,0.116850361227989,0.132699400186539,0.104840070009232,0.071964859962463,-0.090261541306973,0.100376896560192,0.139063373208046,-0.184331566095352,0.141942545771599,0.082965292036533,-0.117599964141846) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.000194146196009,0.063731536269188,0.139108076691628,0.051338952034712,-0.017877059057355,0.160782784223557,-0.041507296264172,-0.252615869045258,0.197776883840561,0.005397813394666,-0.070877082645893,0.039504624903202,-0.088635638356209,-0.126029506325722,0.231974884867668,-0.142306849360466) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.085008606314659,-0.108699969947338,-0.039788261055946,0.184496685862541,-0.062320966273546,-0.061025697737932,-0.072350785136223,-0.200631007552147,-0.095493406057358,-0.249520123004913,0.097249515354633,0.260366678237915,-0.029825694859028,0.032748784869909,0.076349392533302,0.200034856796265) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.056559927761555,-0.126909539103508,-0.021618789061904,0.031317971646786,-0.116834968328476,-0.262210994958878,0.206410944461823,-0.043195858597755,0.329222470521927,0.131380677223206,-0.069224901497364,-0.086394786834717,-0.019967546686530,0.019103880971670,0.212473973631859,0.138604089617729) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.042637079954147,-0.112602733075619,-0.046019304543734,0.211884438991547,-0.012821091338992,0.076079040765762,-0.203140586614609,0.035396501421928,0.091134458780289,0.002741229720414,-0.104169890284538,0.006071378011256,-0.018056791275740,-0.166962593793869,0.094291903078556,0.009285844862461) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.134538635611534,0.078760936856270,0.092368058860302,-0.115268781781197,-0.000011314023141,0.012169303372502,-0.057175677269697,0.034452166408300,-0.399262338876724,-0.151549041271210,-0.046490978449583,-0.190557688474655,0.089509204030037,0.013339576311409,-0.218377456068993,0.123404175043106) * MODEL8_texOff(vec2(0,0));
res += mat4(0.218404799699783,0.069718711078167,-0.017513379454613,0.031201979145408,-0.110622949898243,0.129956170916557,-0.061984509229660,-0.031794182956219,-0.112414285540581,-0.011586029082537,-0.155236363410950,-0.008837081491947,-0.177658200263977,-0.201635211706161,0.113455772399902,0.267828792333603) * MODEL8_texOff(vec2(0,1));
res += mat4(0.019142702221870,-0.105642601847649,0.002963313367218,-0.126841023564339,-0.003404461313039,0.042908448725939,-0.197361037135124,0.144560307264328,0.020525921136141,0.041069909930229,-0.124510139226913,-0.055893883109093,-0.038185093551874,-0.091685257852077,-0.114709079265594,0.086728103458881) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.045648854225874,-0.147369921207428,0.064811721444130,0.024912862107158,0.218433141708374,0.214691728353500,-0.191711843013763,-0.047111954540014,0.008793777786195,0.093687355518341,0.082182846963406,0.015130852349102,0.076506786048412,-0.118712775409222,-0.015527660027146,0.119547948241234) * MODEL8_texOff(vec2(1,0));
res += mat4(0.060954622924328,-0.037013474851847,0.035448715090752,-0.111388497054577,0.081850469112396,0.273406356573105,-0.013467478565872,0.164172679185867,-0.002422926481813,-0.026803495362401,-0.050301648676395,-0.078468315303326,-0.021831253543496,0.072672247886658,0.079421736299992,-0.100585177540779) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.027427772060037,-0.010245976969600,-0.042746186256409,0.035933032631874,-0.110182158648968,0.062355887144804,0.049496509134769,0.056529525667429,0.088811457157135,-0.078476510941982,0.055249292403460,-0.097617074847221,0.027227718383074,-0.191703960299492,-0.044641610234976,-0.256685048341751) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.088255181908607,0.066215604543686,0.146280199289322,0.122430369257927,-0.193706884980202,-0.059397831559181,-0.097724288702011,0.074811093509197,0.092654332518578,-0.106318004429340,-0.030431527644396,-0.033595580607653,-0.021892629563808,-0.063758395612240,-0.361044138669968,0.036681767553091) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.202201724052429,0.159347429871559,0.143750354647636,-0.070753231644630,-0.090205445885658,-0.040815766900778,0.025647677481174,-0.163773715496063,0.024505643174052,-0.027037166059017,0.013312458060682,-0.122656837105751,0.070945799350739,-0.259963005781174,-0.038580927997828,0.006058109458536) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.251309961080551,-0.150950148701668,-0.011454128660262,0.114338532090187,-0.146394655108452,0.085745908319950,0.082453459501266,-0.092851884663105,0.096418224275112,-0.187299236655235,0.065324105322361,0.130833208560944,0.048071045428514,-0.208485811948776,-0.041831478476524,-0.040282119065523) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.101105250418186,-0.107910297811031,-0.223408699035645,-0.091177575290203,-0.097350731492043,0.271009415388107,0.025248225778341,0.016293682157993,0.220232680439949,-0.046237055212259,-0.176752686500549,-0.034648392349482,-0.159780696034431,-0.058166086673737,-0.049398258328438,0.271014958620071) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.168159469962120,-0.066807515919209,0.039491228759289,0.036431077867746,-0.002551267854869,-0.283534526824951,0.169932678341866,0.117195710539818,0.072159126400948,-0.389429986476898,0.213234052062035,0.150005608797073,0.085446916520596,0.029881585389376,0.151657715439796,-0.030423220247030) * MODEL9_texOff(vec2(0,1));
res += mat4(0.097596116364002,-0.148782774806023,0.114548198878765,-0.064119316637516,-0.024836039170623,0.011367436498404,0.002912980737165,-0.041758574545383,0.076655857264996,-0.005396109074354,-0.011128205806017,-0.087732568383217,-0.031824491918087,-0.133036553859711,0.130084201693535,-0.001367651741020) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.110637642443180,0.173486292362213,-0.009308191016316,-0.111932590603828,-0.014219947159290,-0.031241333112121,-0.051483165472746,0.159134387969971,0.091324746608734,0.114280268549919,-0.069443583488464,-0.083494186401367,-0.051513798534870,-0.034601185470819,0.188981667160988,0.018269324675202) * MODEL9_texOff(vec2(1,0));
res += mat4(0.111464403569698,-0.091080546379089,-0.055771887302399,-0.059145178645849,0.021174676716328,-0.032631155103445,-0.095056384801865,-0.022145112976432,-0.015696274116635,0.010686444118619,0.070698276162148,-0.087361305952072,-0.061287533491850,-0.098711267113686,0.031280029565096,-0.152137130498886) * MODEL9_texOff(vec2(1,1));
res += mat4(0.035697262734175,0.034308008849621,-0.106685556471348,-0.101754248142242,0.051170498132706,-0.034661065787077,0.166508227586746,-0.059710212051868,0.035412453114986,0.032829765230417,0.022736119106412,-0.348731249570847,0.027095533907413,-0.055209733545780,0.021646920591593,0.045468736439943) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.169371247291565,-0.039411757141352,0.178953185677528,-0.190494194626808,0.096230357885361,-0.018203044310212,-0.015339816920459,0.055637825280428,0.009450852870941,0.115817032754421,-0.038377080112696,0.019771043211222,-0.012060626409948,0.110813193023205,-0.048777442425489,0.009885895997286) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.211301043629646,-0.021787077188492,0.025287976488471,-0.114517860114574,-0.342638045549393,0.246665164828300,0.177409037947655,-0.045474231243134,-0.017206799238920,0.006018145475537,0.059825971722603,-0.011081616394222,-0.077172636985779,0.072708241641521,0.034382421523333,0.050855390727520) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.024137420579791,0.215528994798660,-0.169096678495407,-0.064362309873104,-0.026029422879219,-0.072893232107162,0.076309338212013,0.125566974282265,0.051070243120193,0.026410542428493,-0.106156177818775,-0.161218523979187,0.023278992623091,-0.028620339930058,-0.210015371441841,-0.252530843019485) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.394522517919540,-0.101830363273621,0.199963688850403,0.120974242687225,0.192743808031082,0.077932201325893,-0.123295508325100,0.250719726085663,0.012957612052560,-0.113759629428387,-0.178273826837540,0.225856915116310,0.036931440234184,0.237862810492516,0.043960403650999,-0.097006455063820) * MODEL10_texOff(vec2(0,0));
res += mat4(0.427959203720093,-0.148798316717148,0.087995909154415,0.030954133719206,-0.211549997329712,0.060034714639187,-0.025392251089215,0.081241905689240,-0.006156701128930,0.064145587384701,0.080621868371964,-0.032222524285316,-0.137215822935104,-0.228631153702736,-0.101092204451561,0.193162173032761) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.013349833898246,0.232157036662102,-0.153334811329842,0.010124875232577,0.008523562923074,-0.144224435091019,0.077074654400349,-0.064692020416260,-0.015040293335915,-0.023069515824318,-0.240415066480637,-0.071152515709400,0.044021278619766,-0.197476238012314,0.011274716816843,-0.045134063810110) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.080583341419697,-0.075895316898823,0.109127759933472,0.002934023970738,0.019157735630870,0.094447761774063,-0.233735904097557,-0.168574050068855,-0.001904352451675,-0.230626031756401,-0.538120150566101,0.145893156528473,0.039071124047041,0.023501453921199,-0.058472171425819,-0.057745032012463) * MODEL10_texOff(vec2(1,0));
res += mat4(0.097463436424732,-0.165337935090065,0.028267661109567,0.007595303002745,-0.155026391148567,0.166269242763519,-0.109398059546947,-0.215534389019012,-0.050309300422668,0.031679306179285,-0.148390769958496,-0.103831723332405,-0.042385872453451,0.031322818249464,0.004852460697293,0.085946500301361) * MODEL10_texOff(vec2(1,1));
res += mat4(0.015254330821335,-0.025990461930633,-0.051429562270641,-0.052075166255236,-0.014641923829913,0.039302069693804,-0.078288309276104,-0.076297551393509,0.050176542252302,-0.030338976532221,-0.190233483910561,0.085755318403244,-0.014890319667757,-0.121604666113853,0.019600013270974,0.013146113604307) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.049631472676992,0.039645068347454,-0.003287030151114,-0.151335179805756,-0.119646281003952,0.228398054838181,-0.064366549253464,0.040842957794666,0.085077784955502,0.091894410550594,0.018386304378510,0.130536451935768,0.163255959749222,0.216591089963913,0.143737807869911,0.045187342911959) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.023905642330647,-0.146617904305458,-0.012531076557934,-0.002764913486317,-0.131225705146790,-0.089440904557705,-0.002633647760376,0.086639590561390,-0.087514348328114,-0.032220803201199,0.175134927034378,0.018867742270231,0.184281766414642,-0.021791560575366,-0.088086657226086,0.005812610965222) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.037255384027958,0.044432077556849,-0.053394760936499,-0.264934659004211,-0.123878449201584,-0.120023608207703,0.074744462966919,-0.003889582352713,-0.038369230926037,0.099765494465828,-0.019352614879608,-0.214835733175278,0.074400670826435,-0.166055142879486,0.232619658112526,0.180881828069687) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.039803437888622,0.019179662689567,0.165742158889771,0.041130233556032,-0.203317046165466,0.141136944293976,0.018592637032270,0.141482442617416,0.100029088556767,0.141487807035446,0.146945223212242,-0.160446688532829,0.173264294862747,0.282760351896286,-0.317698776721954,-0.278484284877777) * MODEL11_texOff(vec2(0,0));
res += mat4(0.153769031167030,0.069111235439777,-0.087993256747723,0.254387944936752,0.212203010916710,0.255305171012878,0.151500463485718,-0.079651951789856,-0.056417122483253,0.162082612514496,0.038724042475224,-0.119045943021774,-0.541364669799805,-0.009887950494885,-0.232072561979294,-0.021518586203456) * MODEL11_texOff(vec2(0,1));
res += mat4(0.015159071423113,0.018843749538064,-0.088389359414577,0.004540232475847,-0.004806668497622,0.143362015485764,0.125391423702240,-0.186929389834404,-0.041807144880295,-0.068641088902950,0.059271421283484,-0.138192936778069,0.022487169131637,-0.148779392242432,0.232828781008720,-0.018582025542855) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.077138744294643,0.246689110994339,-0.209201350808144,0.053588066250086,-0.044509671628475,-0.210137188434601,-0.023371521383524,0.203762665390968,-0.126812428236008,0.300947785377502,0.059135146439075,-0.079514659941196,0.116498075425625,-0.034298896789551,0.159265235066414,0.229258626699448) * MODEL11_texOff(vec2(1,0));
res += mat4(0.052731502801180,-0.103161163628101,-0.083290658891201,-0.037462696433067,-0.007165389601141,0.019934786483645,0.062602490186691,0.037991039454937,-0.115574575960636,0.020634695887566,0.169175729155540,0.064005956053734,0.134204894304276,0.016859143972397,-0.041452746838331,0.128511756658554) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.018408134579659,-0.051355656236410,-0.153597235679626,0.034207791090012,-0.008065342903137,0.029577307403088,-0.384720742702484,-0.075989112257957,-0.065653569996357,-0.111533381044865,-0.006307468283921,-0.021714789792895,0.088733546435833,-0.018036315217614,-0.008470876142383,-0.364555120468140) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.032152712345123,0.072561375796795,-0.007358496077359,-0.051952891051769,0.040444511920214,0.196511536836624,-0.140270233154297,-0.010943398810923,-0.017529834061861,0.019149208441377,0.095233999192715,0.097975514829159,-0.013692540116608,0.034906961023808,-0.014783695340157,-0.177967578172684) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.067310459911823,-0.258938372135162,0.288060516119003,-0.131508305668831,-0.174294784665108,0.212879821658134,-0.079567596316338,-0.139047622680664,0.140566334128380,0.024408511817455,0.070782482624054,0.211779713630676,0.016206322237849,0.067301698029041,0.105823405086994,-0.079105265438557) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.078732900321484,-0.117552645504475,0.105373486876488,-0.090335525572300,-0.003747806651518,0.082874648272991,-0.097080089151859,-0.037645559757948,-0.106036156415939,0.098343119025230,-0.024857828393579,-0.240891247987747,-0.243340179324150,-0.083821795880795,-0.108567394316196,-0.012710237875581) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.008393629454076,0.043909259140491,-0.048627447336912,-0.083329096436501,-0.103658527135849,-0.048096917569637,-0.350085347890854,-0.005818202160299,-0.096076153218746,0.050181649625301,-0.025873105973005,0.119268327951431,0.082966893911362,0.256560683250427,-0.094084285199642,0.156942814588547) * MODEL12_texOff(vec2(0,0));
res += mat4(0.026351178064942,-0.309218227863312,0.169609695672989,-0.016610700637102,-0.017818475142121,-0.021899143233895,-0.070064187049866,-0.058168701827526,0.188240334391594,-0.185729131102562,-0.065233826637268,0.021193020045757,0.132761090993881,-0.199779376387596,0.192282274365425,0.096641920506954) * MODEL12_texOff(vec2(0,1));
res += mat4(0.014644179493189,-0.015487480908632,0.024114357307553,0.082187853753567,0.032837476581335,-0.157815098762512,0.125927314162254,-0.004708433523774,-0.002160069532692,0.110157206654549,-0.150605335831642,0.117919385433197,0.042918641120195,0.015573630109429,-0.065302096307278,-0.137922629714012) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.200119480490685,0.066847592592239,-0.133019119501114,-0.226046726107597,0.043743871152401,-0.086066126823425,0.065622746944427,0.118202023208141,-0.049454577267170,0.223001748323441,-0.052831124514341,-0.105642102658749,0.000644754152745,-0.006137616001070,-0.127023130655289,0.172068029642105) * MODEL12_texOff(vec2(1,0));
res += mat4(0.058453321456909,-0.149105891585350,0.017899382859468,0.110806077718735,0.016990164294839,0.037548720836639,0.035607781261206,0.051192291080952,-0.137290522456169,0.014613526873291,-0.063254170119762,-0.077866241335869,0.079668313264847,0.045243777334690,-0.023729057982564,-0.059113282710314) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.695960581302643,0.322114467620850,0.224952250719070,0.120853230357170) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 5_5

vec4 hook()
{
vec4 res = vec4(-0.221695512533188,0.213262751698494,0.035032641142607,-0.059196352958679);
res += mat4(0.115997001528740,-0.114577129483223,0.004350489471108,0.038845434784889,0.146761044859886,0.107530497014523,0.026394991204143,-0.120054066181183,0.134093672037125,-0.025606293231249,0.071199476718903,-0.265915274620056,-0.081380046904087,0.007358132861555,-0.119023703038692,0.182558059692383) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.071850672364235,-0.078258030116558,0.068448871374130,0.336267232894897,-0.170452252030373,0.218478858470917,-0.032343443483114,-0.036470260471106,0.131221130490303,0.074590004980564,-0.005980448331684,-0.047838479280472,0.136128947138786,0.019752286374569,0.002657329197973,0.072092749178410) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.146520763635635,0.102229028940201,0.254833132028580,0.040299445390701,-0.038371443748474,-0.033985767513514,-0.121727846562862,-0.014914192259312,-0.071794323623180,-0.029500843957067,0.067721940577030,0.235302790999413,0.007226882036775,0.058564305305481,0.006776840891689,-0.104474417865276) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.048507612198591,0.225115761160851,0.245822921395302,-0.136664435267448,-0.101131625473499,0.027341773733497,0.168270841240883,-0.009113123640418,-0.052059106528759,0.119211733341217,0.187663510441780,-0.169397175312042,0.035979520529509,-0.221994236111641,-0.005887433420867,0.247000992298126) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.052691124379635,-0.080642700195313,0.044496070593596,0.109463065862656,-0.134098470211029,-0.105756357312202,-0.008350785821676,-0.096895083785057,-0.079805284738541,0.306925594806671,-0.091588705778122,0.146914690732956,-0.094682209193707,0.131166294217110,-0.199436560273170,0.174820885062218) * MODEL7_texOff(vec2(0,0));
res += mat4(0.002036131685600,-0.003722077934071,-0.130759209394455,-0.034459792077541,-0.073215074837208,-0.032152015715837,-0.050807990133762,-0.012714355252683,0.073915943503380,0.132515788078308,0.015674168244004,0.188991680741310,0.088140025734901,0.111924506723881,0.020198276266456,0.058166854083538) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.054641000926495,0.066330179572105,-0.008485608734190,-0.048543442040682,0.064181067049503,0.013825482688844,-0.049877192825079,-0.096232354640961,0.098539315164089,-0.041350007057190,0.207107752561569,-0.396888345479965,0.030168853700161,-0.190760731697083,0.007891554385424,-0.021492095664144) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.004053285345435,0.183988437056541,0.224195092916489,0.177965953946114,0.210469320416451,-0.213456392288208,-0.063650943338871,-0.009047911502421,-0.029037283733487,-0.079877234995365,0.013862715102732,0.208385795354843,-0.098832584917545,0.174790591001511,-0.022816462442279,-0.260151326656342) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.025396719574928,-0.170947790145874,-0.011470882222056,0.017946194857359,0.095447890460491,-0.012796714901924,-0.119065806269646,-0.064763516187668,-0.092874489724636,-0.013546290807426,0.221342906355858,0.196749061346054,0.019403927028179,0.072996892035007,0.085348568856716,-0.286438614130020) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.118451133370399,-0.096224345266819,0.012680724263191,0.086420454084873,-0.025860184803605,0.163210883736610,0.137945041060448,0.100728549063206,-0.037367675453424,0.093897916376591,-0.053566500544548,0.097601220011711,0.038675915449858,-0.055751308798790,0.152477577328682,0.095191486179829) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.014701309613883,-0.019097952172160,-0.160832911729813,0.093535922467709,-0.158104136586189,-0.054639179259539,-0.009208284318447,0.074370816349983,0.007745828945190,-0.011051929555833,0.002193130087107,0.003211196046323,-0.102977566421032,0.061036765575409,0.106073781847954,-0.103233873844147) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.098050527274609,-0.026194408535957,0.166515097022057,-0.020699823275208,0.129347234964371,-0.043850701302290,-0.042928494513035,-0.008639772422612,-0.057572003453970,-0.245405778288841,0.099699176847935,-0.074636206030846,-0.023084294050932,-0.104065388441086,0.111568242311478,-0.115300156176090) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.105209678411484,0.081083454191685,-0.069015175104141,-0.361045926809311,0.079857856035233,-0.054570719599724,-0.164513736963272,0.055171772837639,0.051122542470694,0.159889742732048,0.080255955457687,-0.044701106846333,0.124119639396667,-0.162853285670280,0.259260356426239,0.003556335810572) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.127152264118195,-0.185005307197571,0.038547895848751,-0.122169800102711,0.066725112497807,-0.007713265717030,0.014945915900171,0.000207933277125,0.212219014763832,-0.349938541650772,-0.215329170227051,0.041877869516611,0.034560691565275,0.075173467397690,0.195036903023720,-0.444602042436600) * MODEL8_texOff(vec2(0,0));
res += mat4(0.032479926943779,-0.056619670242071,-0.196667030453682,-0.135131031274796,0.059069991111755,-0.132482871413231,-0.048877261579037,0.346443504095078,-0.014780195429921,0.129325345158577,0.195053935050964,0.038619767874479,0.042779594659805,-0.108506299555302,-0.070697985589504,-0.027488918974996) * MODEL8_texOff(vec2(0,1));
res += mat4(0.048865623772144,-0.053664527833462,-0.120736129581928,-0.074443399906158,0.001779619138688,0.067891694605350,0.011992526240647,0.185419812798500,-0.036393422633410,0.035664007067680,0.066692620515823,0.012121520005167,-0.055351875722408,-0.082845732569695,0.404603421688080,-0.112817004323006) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.017434494569898,0.050177104771137,0.051176898181438,0.138900756835938,-0.107211343944073,-0.023667693138123,0.146880999207497,0.033993910998106,-0.097780913114548,0.028617758303881,0.025398861616850,-0.102836221456528,-0.132550761103630,-0.060593776404858,0.308984220027924,-0.172640189528465) * MODEL8_texOff(vec2(1,0));
res += mat4(0.142126917839050,0.079447239637375,0.041292108595371,0.016016451641917,-0.001803539344110,-0.185268342494965,-0.150829300284386,0.223136901855469,-0.064755253493786,0.024448782205582,-0.143891170620918,0.035760462284088,-0.068479813635349,-0.049110680818558,0.014619928784668,-0.128430098295212) * MODEL8_texOff(vec2(1,1));
res += mat4(0.003263430204242,0.034131821244955,-0.198693796992302,0.113018780946732,0.117416031658649,-0.050311528146267,-0.017817460000515,0.074184052646160,0.129258096218109,-0.034244265407324,-0.065161809325218,-0.011899269185960,-0.003164288355038,-0.158174559473991,-0.056029096245766,-0.234937444329262) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.143172353506088,-0.056122839450836,0.095340371131897,-0.061058185994625,0.244882449507713,0.094869852066040,0.022749289870262,-0.180111825466156,-0.044686030596495,0.089563637971878,-0.058487322181463,-0.312065273523331,-0.116215609014034,0.081011652946472,-0.014528113417327,0.024207271635532) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.024317180737853,0.033038124442101,0.066916018724442,-0.114479765295982,-0.053544618189335,-0.021466683596373,-0.050335094332695,-0.046104650944471,0.003051633480936,0.076715983450413,-0.029167162254453,0.007190000731498,0.215803965926170,0.003417483996600,-0.085842698812485,0.101764395833015) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.018597424030304,-0.196876361966133,-0.152723073959351,0.164655119180679,0.236228421330452,0.013061556965113,0.066443204879761,-0.150561019778252,-0.013594199903309,0.077169165015221,0.067069463431835,-0.023575801402330,0.060285523533821,0.106996417045593,0.024073740467429,-0.364381074905396) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.031740888953209,-0.058935504406691,-0.094721496105194,-0.120364397764206,0.316029399633408,0.204111814498901,-0.122834034264088,0.180442631244659,-0.085388623178005,-0.102520547807217,-0.116261832416058,-0.471228063106537,-0.172120705246925,0.168514564633369,-0.077586658298969,0.287866711616516) * MODEL9_texOff(vec2(0,0));
res += mat4(0.005252207163721,-0.087708257138729,-0.082316741347313,-0.061819996684790,-0.091465160250664,-0.113032437860966,-0.011073614470661,-0.036891922354698,0.025560310110450,0.081406064331532,-0.121495701372623,-0.189183995127678,0.004194241017103,-0.010039057582617,-0.049596689641476,0.096487008035183) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.213180705904961,0.286356061697006,0.199402794241905,0.020777430385351,-0.069935746490955,-0.014847636222839,0.136854767799377,0.145750284194946,-0.035441957414150,0.005123310256749,0.108479604125023,0.137944847345352,-0.063302621245384,0.091008223593235,0.055308982729912,-0.385017454624176) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.184813618659973,0.063137769699097,0.075454197824001,-0.100309722125530,-0.238366946578026,0.267630904912949,-0.008996969088912,-0.060335736721754,-0.073351167142391,0.053748909384012,0.023787964135408,-0.259372204542160,0.046945802867413,-0.159400403499603,0.088715031743050,0.129650786519051) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.131828799843788,0.078928917646408,-0.016946872696280,-0.005449373275042,-0.089792467653751,-0.025842798873782,-0.051332373172045,-0.162467062473297,-0.060863848775625,0.049702044576406,0.018269173800945,-0.232999056577682,0.145113542675972,-0.007278354372829,0.039450515061617,0.194547101855278) * MODEL9_texOff(vec2(1,1));
res += mat4(0.114408470690250,-0.017831293866038,-0.088213451206684,0.098987497389317,-0.147414416074753,0.097356013953686,0.123478516936302,-0.070079468190670,0.006934547796845,0.018361296504736,0.060772348195314,0.021325075998902,0.154289171099663,-0.110212653875351,-0.044651307165623,-0.161442279815674) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.182177186012268,0.031320307403803,0.123606465756893,-0.007505131885409,0.327009350061417,-0.092151857912540,-0.258731752634048,-0.004310504533350,-0.060999229550362,-0.180972829461098,-0.007095913402736,0.010877526365221,0.063698478043079,0.127002984285355,-0.027127841487527,0.041209485381842) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.103526882827282,-0.004461782518774,-0.106937766075134,-0.102772466838360,-0.054070856422186,0.056532379239798,0.162627607584000,0.027199713513255,-0.031591791659594,-0.006748506333679,-0.088068075478077,0.082628168165684,0.086769729852676,0.010275361128151,0.022648520767689,0.019846893846989) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.025965156033635,-0.055638235062361,0.143919825553894,-0.085062645375729,-0.239376291632652,0.056321084499359,-0.107580386102200,0.066778838634491,-0.007771763019264,-0.055642005056143,-0.099876895546913,0.139849469065666,0.138764694333076,-0.108306929469109,-0.136397436261177,-0.020253201946616) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.379289835691452,0.272461265325546,-0.308706670999527,-0.012919690459967,0.299361646175385,-0.183818668127060,0.103892795741558,-0.075906418263912,-0.090071298182011,-0.495816230773926,-0.294978111982346,0.081646785140038,-0.151747509837151,-0.023890836164355,0.039199795573950,0.019176736474037) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.129144117236137,0.029449967667460,0.042434498667717,0.015438709408045,-0.182091712951660,0.105813942849636,0.037651386111975,0.018038649111986,0.010010321624577,-0.169885754585266,-0.251280844211578,-0.031701494008303,-0.106872431933880,0.025997269898653,0.026569519191980,-0.207283660769463) * MODEL10_texOff(vec2(0,1));
res += mat4(0.050632603466511,0.018843367695808,0.048018019646406,-0.012703774496913,-0.184029757976532,-0.126589238643646,0.050037920475006,-0.017912356182933,-0.065286383032799,-0.160233229398727,-0.169297248125076,0.308086186647415,0.123173579573631,-0.009237545542419,0.162609606981277,-0.133732184767723) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.069356694817543,-0.094142928719521,-0.047159031033516,0.024707917124033,0.168634623289108,-0.068091027438641,-0.027486097067595,-0.030919887125492,-0.048479788005352,-1.148274540901184,-0.307461410760880,-0.003630641847849,-0.102202780544758,0.094514727592468,0.002504381584004,-0.149686872959137) * MODEL10_texOff(vec2(1,0));
res += mat4(0.031791541725397,0.009359770454466,0.043145161122084,0.078093819320202,-0.013059857301414,-0.174143150448799,0.003814859315753,0.022288216277957,-0.018576819449663,-0.227415680885315,-0.341029167175293,-0.039626967161894,-0.097937166690826,0.086226224899292,0.105270951986313,-0.225098803639412) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.077244631946087,0.161771476268768,-0.114831276237965,0.049277961254120,0.063163965940475,-0.039264384657145,-0.217732414603233,-0.000969672342762,-0.031773000955582,0.035971798002720,-0.056008134037256,-0.124731950461864,-0.004480857402086,0.084544584155083,-0.001320121577010,0.133319556713104) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.023417411372066,0.049899511039257,-0.053874310106039,-0.022183530032635,0.021369718015194,0.096774429082870,0.099162526428699,0.043513286858797,0.024925140663981,-0.012918567284942,0.070808090269566,0.017208870500326,0.149566188454628,0.020001450553536,-0.188249185681343,0.016540333628654) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.043159984052181,0.006094841752201,0.038352567702532,-0.017121976241469,0.105034388601780,-0.052308596670628,-0.154844596982002,0.074522338807583,-0.012853994965553,0.106175772845745,-0.056758474558592,0.067376047372818,0.127732738852501,0.074261814355850,-0.124363034963608,-0.089316107332706) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.022321615368128,0.245402351021767,0.090205289423466,0.025945764034986,-0.011059404350817,-0.080478414893150,-0.141559019684792,-0.191878423094749,-0.115555755794048,0.007012333720922,0.076232977211475,0.094156958162785,-0.067201137542725,-0.075608730316162,0.170458123087883,-0.046453554183245) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.042192410677671,0.246428385376930,-0.222338482737541,-0.019227001816034,0.169837325811386,0.148186668753624,0.304502874612808,0.078810654580593,-0.026547683402896,0.052824668586254,0.106403917074203,0.174162819981575,0.235693559050560,-0.352728545665741,-0.132458597421646,0.039521191269159) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.030633606016636,-0.094609521329403,0.093931443989277,-0.145782113075256,0.159282401204109,-0.112427093088627,-0.253268480300903,-0.051867853850126,0.007398652844131,0.195553898811340,0.129666566848755,-0.025186194106936,0.164246857166290,-0.064195774495602,-0.037733178585768,-0.109691143035889) * MODEL11_texOff(vec2(0,1));
res += mat4(0.122397623956203,-0.198217555880547,0.073220990598202,0.018880745396018,0.164617106318474,-0.157381847500801,-0.005345417652279,0.231105625629425,0.005613789428025,0.062646001577377,-0.012377988547087,0.061359412968159,-0.031400103121996,0.056410342454910,-0.031790770590305,0.164289504289627) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.179583489894867,-0.275824606418610,-0.108006514608860,-0.090523138642311,-0.094565488398075,0.069611422717571,0.009131634607911,0.025826890021563,0.069940052926540,-0.068195745348930,-0.247324600815773,0.108953870832920,-0.225176721811295,0.216781556606293,0.315783739089966,0.328866124153137) * MODEL11_texOff(vec2(1,0));
res += mat4(0.058458566665649,-0.055658150464296,-0.028308127075434,-0.181046873331070,0.055916376411915,-0.035840872675180,-0.193841695785522,0.048433411866426,0.117686383426189,0.219796523451805,-0.407950371503830,0.134216904640198,-0.125242769718170,-0.034966181963682,0.161251738667488,-0.074027113616467) * MODEL11_texOff(vec2(1,1));
res += mat4(0.036447554826736,0.108843252062798,-0.062142420560122,0.001559579046443,-0.034399747848511,0.041405547410250,-0.027082020416856,0.149331852793694,0.033497259020805,0.042017437517643,-0.045509427785873,0.021412879228592,-0.059548277407885,-0.045956149697304,0.222335308790207,0.073884904384613) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.027637990191579,0.030544230714440,0.014822890050709,0.064193360507488,-0.009519198909402,0.016350680962205,-0.258047074079514,0.124496720731258,-0.032169334590435,0.097321763634682,0.111306853592396,-0.052366185933352,-0.211357221007347,-0.194417640566826,0.230696022510529,0.100473165512085) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.040247511118650,0.111431255936623,0.000911544135306,-0.055992923676968,0.067986413836479,0.215338826179504,-0.103142283856869,-0.016090320423245,0.020751215517521,-0.026746233925223,0.009228344075382,-0.089970685541630,0.002267242874950,-0.100759670138359,0.057373199611902,0.002317341743037) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.060634307563305,0.180389866232872,0.164952069520950,-0.162374123930931,0.154227435588837,-0.092431209981441,0.235466301441193,-0.069757044315338,-0.002052469877526,-0.072640247642994,0.004068014677614,-0.056133750826120,-0.112267665565014,0.136661812663078,0.032137669622898,0.174979671835899) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.000519116816577,-0.105954214930534,0.074558824300766,-0.134825542569160,0.283102869987488,-0.421625912189484,-0.123401314020157,0.026931593194604,-0.210622891783714,0.146348148584366,0.234513312578201,0.029632946476340,-0.464841157197952,-0.051144536584616,-0.155491068959236,0.160660862922668) * MODEL12_texOff(vec2(0,0));
res += mat4(0.028634501621127,0.136859595775604,0.153640523552895,-0.219202041625977,0.184121981263161,0.093436010181904,0.022939885035157,-0.123159557580948,-0.006153582129627,-0.043148316442966,-0.185617238283157,0.086992330849171,-0.049518667161465,0.032168995589018,0.045721169561148,0.036295462399721) * MODEL12_texOff(vec2(0,1));
res += mat4(0.037322349846363,-0.107627272605896,0.315777778625488,0.032636690884829,0.047899633646011,0.020950218662620,0.120646841824055,0.047919906675816,0.114910744130611,-0.116360217332840,-0.168839454650879,-0.222553476691246,-0.101010210812092,0.026275288313627,-0.144898146390915,-0.126440644264221) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.053654879331589,-0.245986968278885,0.103356398642063,0.162884116172791,-0.067055590450764,0.097339533269405,0.094345577061176,0.073754109442234,0.387096554040909,-0.127180859446526,-0.115814715623856,-0.006696796044707,0.045673478394747,-0.025530327111483,-0.115752257406712,0.083737403154373) * MODEL12_texOff(vec2(1,0));
res += mat4(0.077964909374714,-0.015362973324955,0.012544183991849,0.083761893212795,-0.016614142805338,0.099435150623322,0.048990420997143,0.038601703941822,0.155565112829208,-0.209032580256462,0.029984019696712,0.054754640907049,-0.053928341716528,-0.071286045014858,-0.054626282304525,0.038715317845345) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.124912254512310,-0.003139675827697,0.220790401101112,0.082885645329952) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 5_6

vec4 hook()
{
vec4 res = vec4(-0.016900682821870,0.170633077621460,-0.049143649637699,-0.024130677804351);
res += mat4(-0.187547817826271,0.085694000124931,-0.178793236613274,0.056891035288572,-0.087135657668114,-0.100422784686089,-0.024206660687923,0.127209961414337,-0.199249297380447,-0.061341721564531,0.110969625413418,0.013769804500043,-0.040839821100235,-0.058221921324730,-0.071807168424129,-0.102807216346264) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.244945615530014,-0.044918145984411,-0.121214248239994,0.095533370971680,-0.226213261485100,-0.196271330118179,-0.196651563048363,-0.032324429601431,0.227715507149696,0.003001338802278,0.033373098820448,0.328625380992889,0.138874456286430,-0.020614603534341,0.176276609301567,-0.045632801949978) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.021583614870906,-0.038714498281479,-0.082990221679211,-0.107156202197075,0.080552339553833,-0.002900888444856,-0.065166190266609,0.057737831026316,0.069780968129635,0.191430360078812,0.150081813335419,0.036667633801699,-0.023123413324356,-0.030728885903955,-0.034233290702105,-0.078726336359978) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.198757410049438,0.082816742360592,-0.080566450953484,-0.001517710043117,-0.107059232890606,-0.323087900876999,-0.210736826062202,-0.011066393926740,-0.213144838809967,0.029642801731825,-0.148724973201752,-0.190303578972816,-0.237954378128052,-0.026171471923590,0.025785559788346,-0.184938803315163) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.024316083639860,0.104344829916954,-0.013736529275775,0.010302193462849,-0.169937402009964,-0.408850073814392,-0.212028905749321,-0.139964550733566,-0.166996389627457,0.069119580090046,-0.090210564434528,0.069511100649834,-0.008078605867922,-0.043183021247387,0.120846614241600,-0.144622892141342) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.313190072774887,-0.022872556000948,-0.018685817718506,-0.046854451298714,-0.067342154681683,0.161141186952591,-0.157488718628883,0.104771807789803,0.002275804756209,0.070658460259438,-0.125779956579208,0.120944306254387,0.071860164403915,-0.087947800755501,0.015727227553725,-0.091731622815132) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.206136673688889,0.031431253999472,0.073149107396603,-0.030423155054450,0.128023937344551,0.215521857142448,-0.002085751388222,-0.078236877918243,0.062134001404047,-0.045240551233292,-0.051511455327272,-0.275707453489304,0.123564615845680,0.040168870240450,0.034002229571342,0.070776045322418) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.002675692550838,0.064341761171818,0.036864072084427,-0.006155382376164,-0.008497598581016,0.111043326556683,-0.125214293599129,0.002192242536694,-0.270332098007202,0.007428593933582,-0.003565615974367,-0.024328611791134,0.093504689633846,0.045610330998898,-0.132175564765930,0.004058858379722) * MODEL7_texOff(vec2(1,0));
res += mat4(0.034142266958952,-0.035061389207840,-0.070399381220341,-0.087670065462589,-0.012380606494844,0.128579795360565,0.054238274693489,0.003784789005294,-0.120812594890594,-0.052646823227406,-0.105945415794849,-0.030584238469601,-0.196096509695053,0.072005540132523,-0.390432029962540,-0.036430008709431) * MODEL7_texOff(vec2(1,1));
res += mat4(0.076227657496929,-0.080800801515579,-0.026103865355253,-0.163674190640450,0.014330156147480,0.004022563342005,-0.065965346992016,0.122415542602539,-0.032927401363850,-0.055884242057800,-0.057650800794363,-0.065846875309944,0.087015941739082,0.041637033224106,0.045406416058540,-0.112974293529987) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.058984827250242,0.027613380923867,-0.003904867218807,0.078806146979332,0.005966320168227,0.030668592080474,0.085169054567814,-0.596791446208954,-0.176570490002632,-0.340324044227600,-0.225326448678970,0.422083556652069,-0.020110314711928,0.081552267074585,0.103080071508884,-0.197740033268929) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.168369129300117,0.009920412674546,-0.002573875477538,-0.040993705391884,-0.363940060138702,-0.059814631938934,-0.074951171875000,0.172769188880920,0.305864036083221,-0.032001879066229,-0.252185106277466,-0.023480774834752,-0.049124479293823,-0.039561934769154,-0.401677250862122,0.129197672009468) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.404191255569458,-0.058405440300703,0.114609487354755,0.095709398388863,-0.099266760051250,0.085330791771412,-0.076998800039291,-0.200939983129501,0.042645573616028,0.209560245275497,-0.109043508768082,0.104057163000107,-0.210725381970406,-0.008963044732809,-0.055359341204166,-0.034138947725296) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.086927562952042,0.032964468002319,-0.331711858510971,0.007483867462724,0.053613755851984,-0.084213458001614,0.040939852595329,0.400474369525909,-0.158796608448029,0.140067160129547,0.366742432117462,-0.018078181892633,0.115843981504440,-0.039317023009062,0.316657215356827,-0.104043632745743) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.191840276122093,-0.074043616652489,0.232234522700310,0.106580175459385,-0.134348213672638,0.045999657362700,0.445180594921112,0.053446792066097,-0.053757764399052,0.019250856712461,0.179767653346062,0.011358163319528,-0.056063119322062,-0.052414506673813,-0.143082708120346,0.086768604815006) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.202562674880028,0.033869814127684,-0.082264102995396,-0.018659066408873,0.071488626301289,-0.024447960779071,-0.021079214289784,0.061771955341101,-0.000247377029154,0.076916709542274,-0.091409109532833,-0.082187250256538,-0.090616509318352,-0.036804582923651,-0.029681123793125,0.015968928113580) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.103718243539333,0.007891119457781,-0.268984079360962,0.077516950666904,0.123938761651516,-0.006770956330001,-0.044294741004705,0.078978300094604,0.104201540350914,0.008088106289506,0.112189099192619,0.010775356553495,0.135891303420067,-0.047572918236256,0.173701182007790,0.106258139014244) * MODEL8_texOff(vec2(1,0));
res += mat4(0.106836877763271,-0.000982193043455,0.061931885778904,-0.050625123083591,-0.100974135100842,0.043372116982937,-0.060122180730104,0.037896860390902,-0.213655516505241,0.081773258745670,-0.046693760901690,-0.061846584081650,-0.024512883275747,-0.040416076779366,0.274440467357635,0.005610784515738) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.137877896428108,0.015864288434386,-0.039351690560579,0.117720969021320,0.072875477373600,0.056961778551340,0.092809274792671,-0.026319457218051,-0.088010892271996,-0.012817034497857,-0.284759491682053,-0.085962995886803,0.134160369634628,-0.004769253078848,0.055176634341478,0.034367628395557) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.161355003714561,0.087172605097294,0.011890777386725,0.070508763194084,-0.002841221401468,0.024183614179492,-0.128592669963837,0.058340575546026,-0.163727357983589,-0.057197589427233,-0.011476585641503,-0.122571229934692,0.055786661803722,-0.005016320850700,0.103613279759884,0.081329435110092) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.122826062142849,0.008679072372615,0.092989332973957,-0.101148515939713,-0.040621262043715,0.003119772998616,-0.006433566566557,0.004337270278484,-0.072256609797478,-0.044579107314348,-0.294638156890869,0.001079674810171,-0.201440736651421,-0.011385879479349,-0.117194838821888,0.072721920907497) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.219653218984604,0.066759377717972,-0.121629692614079,0.007262057624757,-0.132199153304100,0.133810043334961,-0.039856862276793,0.181898146867752,-0.016557270660996,0.028416993096471,-0.116819351911545,0.038279090076685,-0.088517092168331,0.026553098112345,-0.082161158323288,0.051927335560322) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.068219222128391,0.117202170193195,0.140922024846077,-0.207602143287659,-0.387078106403351,0.541470766067505,0.182558730244637,-0.094636328518391,0.109842166304588,-0.021228974685073,0.085533797740936,-0.004872542340308,-0.019253868609667,0.073431670665741,-0.000260383152636,0.264886230230331) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.032150216400623,-0.034853104501963,-0.046854324638844,0.018952015787363,-0.031659089028835,-0.111090712249279,-0.157385662198067,0.141938775777817,-0.168608725070953,-0.017955360934138,-0.375907272100449,0.066903851926327,0.316282987594604,0.072880409657955,0.062864318490028,-0.050865422934294) * MODEL9_texOff(vec2(0,1));
res += mat4(0.302103012800217,-0.008297546766698,-0.208533585071564,0.156847327947617,-0.135024785995483,0.044262897223234,0.028794597834349,-0.089154019951820,0.083593316376209,-0.050557121634483,-0.076680921018124,-0.036244798451662,0.095381535589695,0.062793277204037,-0.045173376798630,0.002311471384019) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.087284229695797,-0.035599157214165,0.096678689122200,-0.123485840857029,0.189939394593239,0.161453112959862,-0.161558642983437,-0.070300914347172,0.084720440208912,-0.023607723414898,0.052033741027117,0.164011031389236,-0.166700273752213,-0.018653891980648,0.007933248765767,-0.006184431724250) * MODEL9_texOff(vec2(1,0));
res += mat4(0.011281176470220,-0.073315076529980,-0.048082679510117,0.058289483189583,0.019812483340502,-0.010746874846518,-0.030933616682887,0.009693184867501,0.042528081685305,-0.049159176647663,-0.035703629255295,-0.080737538635731,-0.038782496005297,-0.072673752903938,0.087031014263630,-0.021435722708702) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.098837010562420,-0.040605682879686,-0.106038786470890,-0.183582454919815,0.036768261343241,0.009381890296936,0.005687627941370,-0.133934229612350,0.002290248638019,0.005009400192648,0.086524307727814,0.005806464701891,-0.100795634090900,0.010926944203675,-0.004529494326562,0.032304693013430) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.213914424180984,-0.199694454669952,-0.142838284373283,-0.025852620601654,-0.035512384027243,0.009439222514629,-0.051430970430374,0.115876145660877,0.097743228077888,0.006734000053257,0.014045542106032,-0.064301952719688,0.051873419433832,-0.013241899199784,-0.031621128320694,-0.073359750211239) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.067360714077950,-0.069873631000519,-0.069191299378872,-0.024934854358435,0.185439288616180,-0.147732242941856,-0.068294033408165,-0.093486085534096,-0.024373320862651,-0.015862653031945,-0.311768710613251,-0.061338145285845,-0.066689461469650,-0.070095911622047,-0.163187444210052,0.033230125904083) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.015789002180099,0.078571751713753,-0.059716593474150,-0.134895414113998,0.255133569240570,-0.011452257633209,0.065559312701225,0.030257239937782,0.023921512067318,-0.019135922193527,0.075324662029743,-0.288609206676483,-0.073422752320766,0.059763684868813,0.056487020105124,-0.207148477435112) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.170609682798386,-0.455522984266281,-0.005612559150904,0.116543062031269,-0.055328603833914,0.237195894122124,0.060786020010710,-0.055840376764536,0.083481132984161,-0.085396237671375,-0.284841358661652,0.004916210658848,0.117397584021091,0.038606036454439,-0.170659199357033,0.063142500817776) * MODEL10_texOff(vec2(0,0));
res += mat4(0.087330520153046,-0.082094065845013,-0.275562047958374,0.110030345618725,-0.093875415623188,-0.156231611967087,0.130925998091698,0.018113275989890,-0.081634916365147,-0.042894270271063,-0.560210287570953,0.041262131184340,-0.198531135916710,-0.121335789561272,-0.004719598684460,-0.027997041121125) * MODEL10_texOff(vec2(0,1));
res += mat4(0.079119950532913,-0.021568335592747,0.056692086160183,-0.070908360183239,-0.061190757900476,-0.083758838474751,-0.110595330595970,0.049862887710333,-0.072604924440384,-0.034982398152351,0.201114058494568,-0.027569871395826,-0.061139665544033,-0.062110982835293,-0.036672916263342,-0.115770593285561) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.080110549926758,-0.340451806783676,0.219210192561150,0.199028357863426,0.055688221007586,0.084640026092529,-0.268803447484970,-0.077896051108837,0.087587870657444,-0.372546494007111,0.262486338615417,0.077651023864746,-0.045017026364803,0.086109772324562,-0.073562800884247,-0.007434374187142) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.031501486897469,0.082641623914242,-0.033878050744534,0.011964114382863,-0.141684442758560,-0.071243345737457,-0.188783556222916,-0.047870501875877,0.042306084185839,0.016396565362811,-0.279216796159744,0.073785126209259,0.019219925627112,-0.185847446322441,-0.085822954773903,-0.081944435834885) * MODEL10_texOff(vec2(1,1));
res += mat4(0.146253719925880,0.029331212863326,0.078567385673523,0.108190007507801,0.221444144845009,-0.018918663263321,0.167763710021973,0.090217567980289,-0.081270486116409,0.101832211017609,0.062968030571938,0.121844738721848,0.081803835928440,-0.012651901692152,-0.106014989316463,0.159600824117661) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.066857889294624,0.167561486363411,-0.157991945743561,0.124396957457066,0.136288449168205,0.025783918797970,0.121811978518963,-0.185672685503960,0.127669602632523,-0.040964290499687,0.041286773979664,0.096894614398479,-0.141736969351768,-0.129017323255539,-0.046868294477463,0.208862841129303) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.181517243385315,0.031222620978951,-0.107310846447945,-0.091202035546303,-0.263203680515289,-0.014188738539815,-0.261665374040604,0.198455736041069,0.099476315081120,-0.006189429666847,-0.068960838019848,0.058916717767715,-0.098226785659790,-0.026123631745577,-0.070560693740845,0.085862167179585) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.137135893106461,-0.133711025118828,-0.012541240081191,0.237036705017090,0.078956425189972,0.015472854487598,0.057485345751047,0.031339123845100,0.045382551848888,0.037505336105824,-0.160453125834465,0.042304567992687,0.314995020627975,-0.072895042598248,-0.198445290327072,0.009800410829484) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.134526371955872,-0.034834768623114,-0.161528900265694,0.132256597280502,0.026561513543129,-0.085271298885345,-0.146413758397102,0.228266894817352,0.100432887673378,0.096850357949734,-0.068791620433331,-0.025520686060190,-0.031504996120930,0.120592050254345,0.396461039781570,-0.230840265750885) * MODEL11_texOff(vec2(0,0));
res += mat4(0.284951686859131,0.193224430084229,-0.050374988466501,-0.082042992115021,0.195033520460129,0.003792957402766,0.155141785740852,0.130256861448288,0.079136438667774,0.041045866906643,0.041680965572596,0.123896673321724,-0.339973449707031,0.031453877687454,-0.332236319780350,-0.056959763169289) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.027298767119646,-0.071267619729042,0.110796429216862,-0.069154798984528,-0.184933438897133,0.011967870406806,-0.049393605440855,-0.143932923674583,0.252243310213089,-0.042685482650995,0.107854016125202,-0.039840914309025,-0.060764580965042,-0.009457763284445,0.050968192517757,0.028810098767281) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.030864093452692,-0.083206020295620,-0.128433272242546,0.061883535236120,0.380712270736694,0.055292047560215,-0.072796642780304,0.076885566115379,-0.198199406266212,0.106394350528717,0.019701728597283,0.058363549411297,0.303535670042038,0.075735695660114,-0.132644936442375,-0.176706835627556) * MODEL11_texOff(vec2(1,0));
res += mat4(0.055370882153511,0.000525958254002,0.002836358500645,0.005242158658803,0.345493614673615,0.046167951077223,0.006923857610673,0.209173545241356,-0.152796640992165,0.048426996916533,-0.234948232769966,0.050559565424919,0.078351713716984,0.043159276247025,-0.007466066628695,0.004440258722752) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.024452537298203,0.102805532515049,0.073975019156933,0.052955947816372,-0.428694278001785,0.185999915003777,-0.225008487701416,-0.211363747715950,-0.012508019804955,0.093830905854702,0.104760155081749,-0.041859775781631,0.153003171086311,0.022959463298321,0.009309404529631,0.013413706794381) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.021613234654069,-0.046597670763731,-0.159344732761383,-0.036622248589993,0.254486292600632,0.095523104071617,-0.021815944463015,0.245198681950569,-0.146156802773476,-0.064106717705727,0.060428258031607,0.089511863887310,0.107321679592133,0.172232955694199,-0.146550610661507,-0.123325765132904) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.097674958407879,0.021314635872841,0.096436575055122,-0.058169193565845,0.172876819968224,0.100821442902088,-0.085002988576889,-0.033689107745886,-0.154592618346214,-0.048921462148428,-0.085431985557079,0.149074956774712,-0.004464342724532,0.013998625800014,-0.061675298959017,-0.067011669278145) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.140937179327011,-0.041591383516788,-0.033824861049652,0.157976001501083,-0.099155895411968,-0.050179142504930,0.050023235380650,-0.042191527783871,-0.010814774781466,-0.024884775280952,0.027304016053677,-0.021852301433682,-0.152964785695076,-0.025195838883519,0.024194428697228,-0.223324939608574) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.153151750564575,0.010279368609190,0.006240735296160,-0.110289789736271,0.227625876665115,-0.017923744395375,0.111055485904217,0.012440083548427,0.103834994137287,-0.204683870077133,-0.094562076032162,-0.207144737243652,0.144963219761848,-0.258785337209702,-0.130875080823898,0.083449393510818) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.100603252649307,-0.043326169252396,-0.072865925729275,0.055717919021845,-0.129208430647850,0.026683619245887,0.054499667137861,0.023825503885746,-0.046106830239296,0.040841795504093,-0.021466329693794,0.136042892932892,-0.034445550292730,0.012129642069340,-0.324753701686859,0.132928267121315) * MODEL12_texOff(vec2(0,1));
res += mat4(0.268568754196167,-0.005918109323829,-0.081791393458843,-0.032140880823135,0.064579367637634,0.107070408761501,-0.139099404215813,0.013581281527877,0.193446159362793,0.049662150442600,0.141660287976265,0.074744090437889,-0.080059885978699,-0.003504226682708,0.161241129040718,-0.083065986633301) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.064191870391369,-0.010501382872462,0.165370330214500,0.090800739824772,0.044986065477133,0.066882289946079,0.153695657849312,-0.074707992374897,0.104122772812843,-0.161596283316612,0.047390569001436,0.012336522340775,-0.083554901182652,-0.182734206318855,-0.143263280391693,0.003421932691708) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.096681766211987,-0.070847392082214,0.122087731957436,0.042734369635582,-0.082020193338394,0.062905721366405,-0.053645908832550,0.121480360627174,-0.148771569132805,0.004159741103649,-0.092652827501297,0.004687425214797,0.124019496142864,0.070482239127159,-0.033428199589252,-0.027298007160425) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.116075754165649,-0.319033414125443,0.076530478894711,0.157822355628014) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 6_1

vec4 hook()
{
vec4 res = vec4(0.250111639499664,-0.046763274818659,-0.033536214381456,0.106626629829407);
res += mat4(0.017477205023170,-0.051443986594677,0.110280312597752,0.014037616550922,0.179178416728973,-0.006337075494230,0.113877199590206,-0.039954807609320,0.063875049352646,-0.157105550169945,0.091794706881046,-0.058620050549507,0.042347036302090,-0.155475690960884,-0.080794371664524,-0.081604145467281) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.058322988450527,0.121242336928844,-0.080103076994419,-0.060465961694717,-0.061541840434074,0.292919725179672,0.048200551420450,0.037222661077976,-0.096778050065041,-0.094696462154388,-0.055709276348352,-0.098201259970665,0.030295511707664,-0.158881708979607,0.028679560869932,-0.090071395039558) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.033688623458147,0.136683359742165,-0.111249990761280,-0.010855711065233,0.066435359418392,-0.112811386585236,-0.029788564890623,-0.061663553118706,0.131554067134857,0.085850380361080,-0.029989141970873,0.055489692837000,0.028889495879412,-0.199354082345963,0.016601664945483,-0.058333814144135) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.005240824539214,0.185732170939445,0.259438842535019,0.044890191406012,0.161282539367676,-0.152236476540565,-0.094609253108501,0.070610389113426,-0.051281742751598,0.056243598461151,0.003363487543538,0.020572219043970,0.102893389761448,0.017125632613897,-0.267804324626923,-0.058714792132378) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.085289433598518,0.164564594626427,-0.357910543680191,-0.148002654314041,0.156894296407700,-0.057531915605068,0.098498389124870,0.047767866402864,-0.186908304691315,0.011157612316310,0.179789438843727,0.182710126042366,0.021579474210739,0.229351580142975,-0.245009437203407,0.024607211351395) * MODEL1_texOff(vec2(0,0));
res += mat4(0.008022975176573,-0.132151097059250,0.130020409822464,0.060447320342064,0.048288781195879,-0.045799039304256,-0.082964971661568,-0.000003733681297,0.119612626731396,-0.074855968356133,-0.109485805034637,0.007515730801970,0.047491744160652,-0.126649215817451,-0.027892636135221,0.002990968292579) * MODEL1_texOff(vec2(0,1));
res += mat4(0.022227684035897,-0.090622238814831,0.076794460415840,-0.020343394950032,0.053533960133791,-0.111592173576355,0.041698098182678,0.010193975642323,-0.352469891309738,-0.087712295353413,0.040047314018011,-0.069568462669849,-0.001551274792291,-0.041834909468889,-0.126100912690163,-0.062569066882133) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.138384029269218,-0.038766611367464,-0.030136240646243,0.006748572457582,0.271678388118744,-0.149174973368645,-0.084441408514977,0.045318417251110,-0.316718667745590,0.018518339842558,-0.243776559829712,-0.278044104576111,-0.080297224223614,0.075084619224072,-0.117992386221886,0.063209973275661) * MODEL1_texOff(vec2(1,0));
res += mat4(0.087880678474903,-0.072188444435596,-0.032267164438963,-0.042182687669992,-0.203354582190514,-0.142239868640900,-0.145017132163048,0.022767599672079,0.035053305327892,0.199988767504692,0.008374291472137,-0.164853647351265,-0.168766960501671,-0.179676443338394,0.060598216950893,-0.004432898014784) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.164435669779778,0.143555313348770,0.133237972855568,-0.052252128720284,-0.070026755332947,0.018766503781080,0.259265094995499,0.021296087652445,0.065832398831844,-0.121507897973061,-0.039067599922419,-0.016847586259246,0.192060589790344,0.366836905479431,0.019958402961493,0.071352779865265) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.120867095887661,0.126212954521179,0.168112948536873,0.012086633592844,-0.096832863986492,-0.022697346284986,0.071444280445576,0.025495573878288,-0.155853614211082,-0.431939393281937,-0.066813707351685,-0.109919406473637,0.107892155647278,0.041264310479164,0.154602542519569,0.066773660480976) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.047206319868565,0.128136664628983,0.042507831007242,0.008746412582695,-0.025044560432434,0.028391050174832,-0.049921669065952,0.003550736233592,-0.201884254813194,-0.339546650648117,-0.057119760662317,-0.060943763703108,0.085777156054974,-0.140812203288078,0.093331471085548,0.033116623759270) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.021553764119744,0.055073652416468,-0.108897835016251,0.141361072659492,0.134361296892166,0.033989489078522,0.262147456407547,0.087809890508652,-0.113327085971832,-0.022015182301402,-0.062999799847603,-0.016535319387913,-0.099684625864029,0.118470564484596,0.271654635667801,0.037567660212517) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.076863273978233,-0.171186089515686,0.107740767300129,-0.166947409510612,0.156178236007690,-0.083630867302418,0.149507075548172,0.008818096481264,-0.191282719373703,-0.061354249715805,-0.452014356851578,-0.051685128360987,-0.182632207870483,-0.011344708502293,0.189320206642151,0.002375876298174) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.031991910189390,0.123108141124249,-0.073613248765469,0.079523399472237,0.039503067731857,0.120346441864967,-0.061117369681597,0.038787342607975,-0.204103246331215,-0.128726899623871,0.041006904095411,-0.019420390948653,-0.079557366669178,0.035941801965237,0.065547518432140,0.152384504675865) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.046766709536314,0.054552178829908,0.056554455310106,-0.004947659093887,0.033602260053158,-0.148382559418678,0.109485223889351,-0.002445950871333,-0.067173108458519,-0.096007429063320,-0.054338146001101,-0.012718837708235,-0.102886162698269,-0.140391424298286,-0.031654071062803,-0.028614584356546) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.024050362408161,-0.156809657812119,-0.073762640357018,-0.096980512142181,-0.035930946469307,0.116684481501579,-0.061254873871803,0.100150108337402,-0.101147376000881,-0.178484559059143,0.156299769878387,-0.041813883930445,-0.146754309535027,0.171290427446365,-0.096650496125221,-0.051392767578363) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.035064876079559,0.096742667257786,0.115361221134663,-0.017995906993747,0.063470095396042,0.056951995939016,0.051680527627468,-0.003882039571181,-0.027582958340645,-0.395449966192245,0.070058621466160,-0.033668622374535,-0.092077843844891,0.124209135770798,0.114581413567066,-0.055874962359667) * MODEL2_texOff(vec2(1,1));
res += mat4(0.349100381135941,0.025777721777558,-0.049923412501812,-0.036989372223616,0.092461071908474,0.051326490938663,-0.137298792600632,-0.014502298086882,-0.114612489938736,0.025658290833235,-0.081657864153385,0.058240823447704,-0.068563140928745,0.167506545782089,-0.033947438001633,-0.054184067994356) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.109836906194687,0.060798138380051,0.010542637668550,0.098286062479019,-0.007169640623033,-0.059972509741783,-0.149285718798637,0.141622722148895,-0.008200145326555,0.057925354689360,-0.100061848759651,0.149855181574821,0.038064360618591,0.104887582361698,0.036988608539104,-0.083344586193562) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.081319987773895,-0.064011842012405,0.021507276222110,-0.059816196560860,0.007596756331623,-0.063421674072742,-0.068639948964119,-0.038156352937222,-0.030858114361763,-0.153919190168381,-0.227911934256554,-0.064422927796841,0.048017252236605,0.023948039859533,0.044968005269766,0.015019422397017) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.275992244482040,-0.100666016340256,0.028204409405589,0.052377790212631,-0.170254915952682,-0.014179978519678,0.023472663015127,0.135180994868279,0.081183344125748,0.058765094727278,0.206592395901680,0.010296102613211,-0.920687973499298,0.196714609861374,0.105132028460503,-0.046716913580894) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.148727625608444,0.158657148480415,-0.061432387679815,-0.339154005050659,-0.005196471232921,-0.013111964799464,0.013831023126841,-0.312295228242874,-0.218580663204193,-0.218658432364464,-0.175087168812752,0.188722461462021,-0.040515452623367,-0.041343703866005,0.124478206038475,0.031579561531544) * MODEL3_texOff(vec2(0,0));
res += mat4(0.096737191081047,-0.224533364176750,-0.115788280963898,-0.210029691457748,0.048040870577097,0.365786164999008,-0.049721568822861,0.366752296686172,0.072416611015797,-0.032340839505196,0.007080905139446,0.107731357216835,-0.229270398616791,-0.098028428852558,0.034907471388578,0.010096760466695) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.181288316845894,0.102392770349979,0.040772642940283,-0.063953295350075,-0.003236291464418,-0.046820182353258,0.048457019031048,-0.007793008815497,0.041926410049200,-0.002819512737915,-0.031160963699222,0.040933717042208,-0.389248341321945,0.031599827110767,0.076835647225380,-0.006933844182640) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.096714586019516,0.133260294795036,0.054412961006165,0.114104270935059,-0.117007076740265,-0.047266662120819,-0.019127486273646,-0.163899049162865,-0.006207944825292,-0.024093875661492,0.241170570254326,0.047075528651476,-0.262119948863983,0.177646562457085,-0.083166286349297,-0.033392522484064) * MODEL3_texOff(vec2(1,0));
res += mat4(0.223236262798309,-0.131613805890083,0.029998105019331,0.021847311407328,-0.163442835211754,-0.037568196654320,0.043990667909384,-0.025209510698915,0.095532350242138,-0.377135008573532,0.164275079965591,0.037612892687321,-0.033790107816458,0.204554155468941,0.125794976949692,-0.018169382587075) * MODEL3_texOff(vec2(1,1));
res += mat4(0.185656219720840,-0.237013801932335,0.023809770122170,-0.019945509731770,-0.024000780656934,-0.069388777017593,-0.019250683486462,0.038980424404144,0.217410922050476,-0.142003983259201,-0.038932066410780,-0.089135676622391,0.037329461425543,-0.051643673330545,-0.072954088449478,-0.034137800335884) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.002953237621114,-0.299858748912811,-0.035614632070065,0.123480528593063,0.271868705749512,-0.261713117361069,0.110633268952370,-0.018098486587405,-0.105204455554485,0.124698773026466,-0.004083009902388,0.040820784866810,0.058596324175596,0.145183429121971,-0.042031615972519,-0.008716446347535) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.022009950131178,-0.172121480107307,0.073930993676186,0.028400428593159,-0.098850153386593,-0.286939769983292,-0.072952099144459,0.003960069268942,0.199719622731209,0.078558444976807,-0.101742617785931,0.027813661843538,0.067129112780094,0.066605515778065,-0.029984021559358,0.066511444747448) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.044509869068861,0.003014194546267,-0.188099160790443,-0.677552580833435,-0.016516003757715,0.215095505118370,0.099581494927406,-0.006263757590204,0.148155435919762,0.077003754675388,-0.227467536926270,-0.088330924510956,-0.043051715940237,0.016318177804351,-0.036846503615379,-0.043837539851665) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.113208614289761,0.091942742466927,-0.139423340559006,0.100733488798141,0.223382666707039,0.085483379662037,-0.184114605188370,-0.001459464197978,0.230310127139091,0.091303415596485,0.159674122929573,-0.014051223173738,-0.251418888568878,-0.040460709482431,-0.003850389970466,-0.077066570520401) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.058521561324596,0.161402612924576,-0.009539860300720,0.065693631768227,-0.093886397778988,-0.044818527996540,0.077923648059368,0.034924671053886,0.090649083256721,0.045904468744993,-0.090296812355518,0.047235205769539,0.177408814430237,-0.000558916246518,-0.003084447234869,-0.002415476599708) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.120940394699574,0.008336765691638,-0.063123211264610,-0.009787570685148,0.004531240090728,-0.298729360103607,0.143902659416199,-0.007338162045926,0.190344706177711,0.067301057279110,-0.103941231966019,-0.011607642285526,-0.058364026248455,0.013635012321174,-0.013419941067696,0.041554436087608) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.053582180291414,0.144659131765366,0.010197781957686,0.190431669354439,-0.191991418600082,-0.197378098964691,-0.188408955931664,0.008649669587612,0.226799264550209,-0.154675275087357,0.055560145527124,0.001197981531732,-0.279544740915298,0.032240286469460,-0.081268079578876,0.051160525530577) * MODEL4_texOff(vec2(1,0));
res += mat4(0.136873006820679,-0.063737504184246,0.048261262476444,-0.111269205808640,0.176522850990295,0.076186425983906,-0.060448810458183,-0.030562877655029,-0.181372836232185,0.121509246528149,-0.011603509075940,-0.018301369622350,0.054519660770893,0.001380881411023,-0.052930176258087,0.026550075039268) * MODEL4_texOff(vec2(1,1));
res += mat4(0.057099416851997,-0.043084856122732,-0.117747172713280,-0.022921493276954,-0.050905544310808,-0.007446800824255,-0.284504681825638,0.029150344431400,-0.026825277134776,-0.007481915410608,0.031146759167314,0.011829972267151,0.029417967423797,0.312869012355804,0.117271624505520,-0.058685671538115) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.058698270469904,-0.202812552452087,-0.322194397449493,0.042921785265207,-0.026100719347596,-0.096904799342155,-0.022985480725765,-0.083211436867714,0.168406382203102,0.084616698324680,0.170982047915459,0.040790028870106,-0.109315715730190,0.248960122466087,0.080014288425446,-0.014669430442154) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.013040709309280,-0.171311870217323,0.018081562593579,-0.014603178016841,-0.015568493865430,-0.007645166944712,-0.014635398983955,-0.086134649813175,-0.080007649958134,-0.154788747429848,0.096657827496529,0.057583771646023,-0.063851073384285,0.291771560907364,-0.270167320966721,-0.071547426283360) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.179094031453133,-0.056927725672722,-0.068550184369087,0.076942950487137,0.095335267484188,-0.041179899126291,-0.113795258104801,-0.028474686667323,-0.117213398218155,0.054043319076300,-0.129375189542770,-0.016626052558422,-0.069986611604691,-0.048975799232721,0.023623816668987,-0.008577216416597) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.061703480780125,-0.092724144458771,0.352073431015015,-0.131744086742401,0.076237164437771,0.000025343935704,-0.160705119371414,-0.034144312143326,0.253897547721863,0.177554175257683,0.264189153909683,0.033497650176287,0.079833596944809,-0.105581745505333,0.137128099799156,0.039480283856392) * MODEL5_texOff(vec2(0,0));
res += mat4(0.098665796220303,-0.151593402028084,0.103425785899162,0.067125536501408,0.148690491914749,-0.047792144119740,-0.067327819764614,-0.115291640162468,0.054494000971317,0.049820840358734,-0.045817244797945,0.081282980740070,-0.108008526265621,-0.442142903804779,-0.012915600091219,-0.042571559548378) * MODEL5_texOff(vec2(0,1));
res += mat4(0.023112475872040,0.006506326608360,0.081557288765907,-0.007664855569601,-0.141461104154587,-0.008838035166264,-0.174994036555290,0.021428275853395,-0.025543157011271,0.044252596795559,0.160416767001152,-0.087065733969212,-0.026756798848510,0.121667720377445,0.018779272213578,0.010425309650600) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.222271040081978,-0.148156031966209,-0.051371850073338,-0.102133169770241,0.093698464334011,-0.167849153280258,-0.016693167388439,0.001128459349275,0.181749850511551,0.341596692800522,0.041916321963072,-0.023874536156654,-0.116108313202858,0.122909449040890,0.023485913872719,-0.005737830884755) * MODEL5_texOff(vec2(1,0));
res += mat4(0.102631531655788,0.125858277082443,0.134578898549080,-0.000197785935597,0.036260083317757,-0.186513036489487,-0.160239011049271,-0.044937174767256,-0.042367998510599,0.016426663845778,0.063156403601170,-0.050299827009439,-0.016873605549335,0.121367394924164,-0.001341726048850,-0.006219401955605) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.025550343096256,-0.050062470138073,-0.052540376782417,-0.009498966857791,0.011308601126075,0.098359689116478,-0.006011312827468,-0.080175101757050,0.043279059231281,0.132452234625816,0.029410077258945,0.008080386556685,0.006021484266967,0.028236530721188,0.018693404272199,-0.035453964024782) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.054478202015162,-0.181937426328659,-0.083886802196503,-0.022063508629799,0.091852292418480,0.106754295527935,0.320155620574951,0.048936173319817,-0.124076068401337,-0.114941358566284,-0.054454304277897,0.039089489728212,0.019912393763661,0.012661378830671,0.083309441804886,-0.050863310694695) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.053406402468681,0.002776909619570,-0.041019767522812,-0.022339092567563,0.000661218131427,-0.245158389210701,-0.134914889931679,0.055361423641443,-0.154844179749489,0.161514297127724,-0.022676516324282,0.007816490717232,0.040176361799240,-0.603874742984772,0.129600316286087,-0.065216489136219) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.149587586522102,0.143525600433350,-0.059418138116598,0.011044865474105,0.011582438834012,0.035838458687067,-0.226955100893974,0.126459762454033,-0.037863872945309,-0.068104244768620,0.110734820365906,0.074189580976963,-0.165403291583061,-0.150477245450020,0.138412266969681,-0.078629411756992) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.144713282585144,0.120146580040455,-0.182722851634026,0.052048522979021,-0.098926559090614,-0.068824537098408,0.002449847757816,0.246234446763992,-0.191685527563095,0.095611058175564,0.164643242955208,0.095232918858528,0.028363414108753,-0.085502296686172,-0.030359448865056,0.109094001352787) * MODEL6_texOff(vec2(0,0));
res += mat4(0.046499710530043,0.103568166494370,0.106437787413597,-0.008570040576160,-0.129526972770691,-0.091051861643791,-0.010977430269122,-0.005878699012101,-0.055012214928865,0.036248404532671,0.071853540837765,0.038763597607613,0.090327598154545,0.291406124830246,-0.284452050924301,0.084939964115620) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.049624480307102,0.129336088895798,-0.123533070087433,-0.023232512176037,0.078324504196644,0.071299582719803,0.068184800446033,-0.042227417230606,-0.039639674127102,0.065665334463120,0.122267454862595,-0.014082561247051,-0.126707702875137,0.008803091943264,-0.054360583424568,-0.021252054721117) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.001651024445891,-0.100401200354099,0.234951257705688,-0.034389823675156,0.005846295040101,0.007435825187713,-0.056236106902361,-0.078323751688004,0.047333054244518,-0.001186116249301,0.131134688854218,0.083065159618855,0.176815122365952,-0.013903891667724,0.166025921702385,-0.017181210219860) * MODEL6_texOff(vec2(1,0));
res += mat4(0.138534858822823,-0.174772635102272,0.181303530931473,0.064944386482239,-0.047171380370855,0.072304837405682,-0.077941328287125,0.048562902957201,0.086380802094936,-0.003696485189721,0.029728872701526,0.021434668451548,-0.017052793875337,-0.101450935006142,0.029204634949565,0.040259011089802) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.005081312730908,-0.036062873899937,0.498677134513855,0.745325028896332) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 6_2

vec4 hook()
{
vec4 res = vec4(-0.381171911954880,-0.048553768545389,0.072267785668373,-0.001888784347102);
res += mat4(-0.025172527879477,-0.355715483427048,0.003670857753605,0.098516456782818,0.090454623103142,0.256475359201431,-0.067454688251019,0.030373996123672,-0.001597461756319,-0.069847106933594,0.007862161844969,-0.003711253637448,-0.010639348998666,-0.000466571975267,0.073300495743752,0.090527795255184) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.219144791364670,-0.112754456698895,0.022528987377882,-0.091776318848133,0.164486825466156,0.266639232635498,-0.047846738249063,0.146312505006790,-0.006722742225975,-0.100685380399227,-0.054213702678680,-0.001931580249220,0.047689545899630,-0.177077919244766,0.078359283506870,-0.039414606988430) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.116464339196682,0.190944150090218,-0.020993152633309,-0.136876851320267,-0.020823581144214,0.127413988113403,-0.016734762117267,0.054152335971594,-0.058906331658363,-0.118004947900772,-0.052098773419857,-0.060493115335703,-0.022155540063977,-0.302605539560318,0.054239861667156,0.000397469848394) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.228644102811813,0.057258784770966,0.201099604368210,-0.191834717988968,0.025736464187503,0.058353569358587,-0.052407070994377,0.035035774111748,-0.026525089517236,-0.115289077162743,0.057393025606871,0.055480670183897,0.095343440771103,-0.035377986729145,0.037846591323614,-0.000265100272372) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.135783970355988,0.044249817728996,0.005010008811951,-0.092220544815063,-0.050819125026464,-0.099047668278217,-0.113284334540367,0.049229443073273,-0.057086162269115,0.013437221758068,-0.017993794754148,-0.232665762305260,0.029690727591515,0.098571501672268,0.265654772520065,-0.016627615317702) * MODEL1_texOff(vec2(0,0));
res += mat4(0.052832446992397,-0.086658880114555,0.147181242704391,-0.154523476958275,0.057513203471899,0.027616202831268,0.040288079530001,0.314012855291367,-0.096476957201958,0.081738382577896,0.058130092918873,-0.158417582511902,-0.081247024238110,0.174337685108185,-0.022565506398678,0.013048205524683) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.042666327208281,0.009070704691112,-0.036738839000463,-0.122122988104820,0.096572451293468,0.305173128843307,-0.064922384917736,0.023988874629140,0.065966546535492,0.055948417633772,0.075131438672543,0.129068657755852,0.095073252916336,0.059910900890827,0.090777166187763,0.079406201839447) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.089083217084408,0.105661168694496,-0.124547734856606,-0.059126116335392,-0.002217972185463,-0.157372623682022,-0.098668128252029,0.117219485342503,-0.196927607059479,0.208745926618576,0.280111491680145,-0.532540142536163,0.254135996103287,-0.263974279165268,-0.116232074797153,0.121965304017067) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.014192652888596,-0.038088757544756,0.001604032353498,-0.067879609763622,0.112402983009815,0.106836229562759,0.080574393272400,0.124689862132072,-0.018306959420443,0.152848720550537,-0.052883196622133,-0.295824080705643,0.069524101912975,0.081117354333401,-0.038235712796450,-0.044501960277557) * MODEL1_texOff(vec2(1,1));
res += mat4(0.161890029907227,-0.029435874894261,0.047441598027945,-0.022209389135242,-0.002169605577365,0.073363691568375,0.186386421322823,-0.031619425863028,-0.031611103564501,-0.055308800190687,0.123526863753796,0.239622309803963,0.121658675372601,-0.124184936285019,-0.022001558914781,-0.030922699719667) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.289763718843460,0.116960555315018,0.040694382041693,-0.035106327384710,0.011460220441222,0.058338068425655,0.002821089467034,0.066659636795521,-0.089396402239799,-0.017824735492468,0.127453044056892,0.047893017530441,0.027242492884398,-0.170986175537109,0.056347087025642,-0.096795581281185) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.056113000959158,0.087287947535515,-0.096940398216248,0.036876387894154,0.038628444075584,-0.024138633161783,0.031061895191669,-0.038262289017439,-0.136788710951805,-0.368600934743881,0.060127276927233,0.005608507432044,-0.084055274724960,0.062101084738970,0.073305681347847,-0.164770185947418) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.280561953783035,-0.115365691483021,0.104106970131397,0.180341720581055,-0.000415007409174,-0.048874802887440,0.006888052448630,0.006765446159989,0.042512603104115,0.108643591403961,0.164236024022102,0.022889047861099,-0.000452040840173,0.073850847780704,-0.031170709058642,0.060642730444670) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.248495802283287,-0.090730771422386,-0.070171318948269,-0.034375950694084,0.013237619772553,-0.087837882339954,-0.231987655162811,-0.009388667531312,-0.072142586112022,0.237080529332161,0.293351680040359,0.013158559799194,-0.145106479525566,-0.027821781113744,-0.072636052966118,-0.017009932547808) * MODEL2_texOff(vec2(0,0));
res += mat4(0.173918828368187,-0.024598827585578,-0.104713089764118,0.085398554801941,0.045844998210669,0.070896185934544,-0.114513866603374,0.040133353322744,0.041149057447910,0.022934749722481,0.108481578528881,0.079061828553677,-0.108286611735821,0.201006338000298,0.134199678897858,-0.188765868544579) * MODEL2_texOff(vec2(0,1));
res += mat4(0.056452780961990,-0.222219809889793,0.068995758891106,-0.010249023325741,0.101467393338680,-0.076850444078445,0.093865320086479,0.080635540187359,0.019236750900745,-0.085606738924980,0.157788962125778,0.103183463215828,-0.132155463099480,0.150876000523567,-0.054980762302876,0.061944283545017) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.323874861001968,-0.096637442708015,-0.088031686842442,0.203251391649246,0.155369907617569,0.052905928343534,-0.192482337355614,0.049977533519268,0.047450002282858,-0.165884003043175,-0.002079620491713,0.245405599474907,-0.137020900845528,0.002747967606410,0.043151307851076,-0.248639792203903) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.004358917474747,0.015419093891978,-0.009199613705277,-0.056688759475946,0.104557462036610,0.093722485005856,-0.033005908131599,0.196709424257278,-0.066505059599876,-0.169879958033562,0.113327838480473,0.005561198573560,-0.135137215256691,0.065352350473404,0.030285347253084,-0.165933489799500) * MODEL2_texOff(vec2(1,1));
res += mat4(0.002737787086517,-0.020724475383759,-0.167387321591377,-0.099347442388535,-0.152470991015434,-0.043499749153852,-0.031055109575391,0.122431501746178,0.011190278455615,0.116767771542072,0.016977254301310,-0.124561451375484,-0.059227667748928,-0.058505214750767,0.034696951508522,0.066171847283840) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.083288513123989,-0.039233975112438,-0.054205507040024,-0.040855903178453,-0.150062054395676,0.231316491961479,-0.106142312288284,0.032794158905745,0.068400576710701,-0.018207969143987,0.215820819139481,0.007057623937726,-0.089935734868050,0.051598109304905,0.025098640471697,0.122563801705837) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.017057137563825,-0.181623771786690,-0.003721365705132,0.120821155607700,0.147419676184654,0.113046765327454,0.153243958950043,-0.064774528145790,-0.170702204108238,-0.088120661675930,-0.127990320324898,0.033714450895786,-0.036048382520676,-0.019430931657553,-0.093689881265163,-0.005896343383938) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.076242096722126,0.017169047147036,-0.076281331479549,-0.087172836065292,-0.055079471319914,-0.031763531267643,0.041085857897997,0.073854215443134,0.171665713191032,0.087385818362236,-0.025069858878851,0.078088954091072,0.045657120645046,-0.079357646405697,-0.184286683797836,0.058161329478025) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.038556523621082,0.357014536857605,0.113512039184570,0.068277835845947,-0.055959478020668,-0.003431593533605,0.136103570461273,-0.070120148360729,0.136256456375122,0.114035017788410,0.124059617519379,-0.211062237620354,0.261951684951782,0.002672491362318,-0.046643298119307,-0.404975682497025) * MODEL3_texOff(vec2(0,0));
res += mat4(0.008864183910191,0.110152058303356,0.057111546397209,0.048310514539480,0.103735484182835,-0.034019384533167,0.081166043877602,0.130193188786507,0.067172579467297,0.210058659315109,-0.035106856375933,0.069533966481686,0.153993681073189,0.200248435139656,-0.072769589722157,-0.009253239259124) * MODEL3_texOff(vec2(0,1));
res += mat4(0.137303292751312,-0.038818169385195,-0.121316686272621,-0.003157201223075,-0.021276945248246,0.009098918177187,-0.134866893291473,0.027399877086282,0.048295803368092,-0.107505314052105,-0.009588444605470,-0.137040480971336,-0.000968821812421,0.006896090693772,0.035229705274105,0.023804234340787) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.014595931395888,0.427362084388733,-0.113675594329834,0.019902829080820,0.049125280231237,0.003715683706105,-0.031998854130507,0.148877501487732,0.128522276878357,-0.153361186385155,-0.240255951881409,0.007923922501504,-0.167402952909470,0.239363625645638,0.037929859012365,-0.211333006620407) * MODEL3_texOff(vec2(1,0));
res += mat4(0.090283103287220,-0.057946804910898,-0.080000557005405,0.212841674685478,0.111112557351589,0.031875666230917,0.038373634219170,-0.103251606225967,-0.114782691001892,-0.101875752210617,0.000706506602000,0.009646683931351,-0.090419307351112,0.116716116666794,-0.062010664492846,-0.096245571970940) * MODEL3_texOff(vec2(1,1));
res += mat4(0.029451126232743,0.091920368373394,-0.103966772556305,0.027202034369111,0.075417630374432,0.227030411362648,0.132469981908798,0.099248744547367,0.045475404709578,0.220677912235260,0.006018178071827,-0.077015295624733,0.004542422015220,0.059353299438953,0.006119232159108,0.002131734509021) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.014487941749394,0.118894726037979,-0.106475047767162,0.065833255648613,-0.015868835151196,0.378334909677505,0.278413623571396,-0.025466483086348,-0.068388596177101,0.065163105726242,-0.122343719005585,0.122552394866943,-0.064668238162994,0.052579756826162,0.017317198216915,-0.017631873488426) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.044861175119877,0.038507990539074,0.079857319593430,-0.036659799516201,-0.065912723541260,0.163408890366554,-0.107444792985916,0.009516385383904,0.077610626816750,-0.065161257982254,-0.120848841965199,0.013880933634937,0.010018895380199,-0.073380798101425,-0.027562383562326,-0.003210869617760) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.063713654875755,-0.173336580395699,0.103032507002354,-0.067421711981297,0.061034161597490,-0.133933484554291,-0.039914205670357,-0.066062383353710,-0.124564878642559,0.014071704819798,-0.212426841259003,-0.054471034556627,-0.050436701625586,-0.029990389943123,0.101656727492809,-0.019948774948716) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.061400968581438,0.016243183985353,-0.085638068616390,-0.135215282440186,-0.045016251504421,-0.060606945306063,0.004900238011032,0.197225585579872,0.076309658586979,0.068363867700100,-0.093767620623112,-0.022849164903164,0.132872238755226,0.153839275240898,0.106617800891399,0.069158576428890) * MODEL4_texOff(vec2(0,0));
res += mat4(0.068226382136345,0.005019839387387,0.088149026036263,-0.002263638190925,0.095725148916245,-0.190295740962029,0.059975780546665,-0.099591948091984,-0.100743070244789,-0.068429768085480,-0.180728822946548,0.102918490767479,0.222121536731720,0.141644224524498,0.019771790131927,-0.188013285398483) * MODEL4_texOff(vec2(0,1));
res += mat4(0.182049229741096,0.052857819944620,-0.016144270077348,0.186286583542824,0.019036661833525,0.127024978399277,0.130914136767387,-0.066128753125668,0.122878082096577,0.060932379215956,0.009368648752570,-0.163286760449409,0.187872752547264,-0.049697358161211,0.143852561712265,0.028354270383716) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.039516706019640,0.133561089634895,0.083656482398510,-0.156502053141594,-0.073660820722580,0.204839602112770,0.094035379588604,-0.141223445534706,0.208479925990105,-0.112360261380672,-0.262261331081390,0.060094919055700,-0.093178011476994,0.047197196632624,0.074409179389477,-0.082817874848843) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.041455775499344,-0.039220154285431,-0.061549745500088,0.026498198509216,0.202683433890343,-0.158576756715775,-0.113462023437023,0.114903874695301,0.028172979131341,0.040499370545149,-0.056302901357412,-0.076850667595863,-0.028069445863366,-0.065669104456902,-0.027120303362608,0.138441428542137) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.048007607460022,-0.011181522160769,-0.055410578846931,0.083323873579502,-0.130426585674286,0.137334793806076,-0.135434731841087,0.001242133323103,-0.068647406995296,-0.061964921653271,-0.115617573261261,-0.070764474570751,0.039108015596867,-0.085165351629257,-0.112395614385605,-0.047920010983944) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.061101991683245,0.013473507016897,-0.142545968294144,-0.038115195930004,0.016610423102975,0.301405966281891,-0.022801149636507,0.102622032165527,-0.030416553840041,-0.256307303905487,-0.049316305667162,0.008287606760859,0.088510692119598,-0.083293534815311,0.074822343885899,0.011111230589449) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.091738402843475,-0.142870694398880,-0.069991163909435,0.044144239276648,-0.148266926407814,-0.099257200956345,0.004354411270469,0.105114556849003,-0.021618541330099,-0.323576837778091,-0.180119484663010,0.263153910636902,-0.221515029668808,-0.104091972112656,-0.245158493518829,0.092915251851082) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.068989783525467,0.142536461353302,-0.068510293960571,0.022154560312629,0.263768166303635,-0.126357436180115,0.140425071120262,0.009990569204092,-0.199595361948013,0.184087112545967,-0.221756607294083,0.158824637532234,0.059119064360857,0.483887702226639,-0.001388423144817,0.070083372294903) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.362901955842972,-0.020423945039511,-0.088116385042667,-0.034462414681911,-0.246818646788597,0.072264060378075,-0.107349567115307,-0.671343088150024,0.100108966231346,0.177626028656960,0.040001187473536,-0.404697149991989,-0.178407147526741,0.220443248748779,0.143108144402504,-0.132079169154167) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.065039835870266,-0.047093473374844,0.003163333516568,-0.177582994103432,-0.160983607172966,-0.285072445869446,0.020654680207372,0.303839445114136,-0.167854472994804,-0.083575285971165,0.037381853908300,0.199011698365211,-0.113120175898075,0.025093544274569,-0.254858672618866,0.182077705860138) * MODEL5_texOff(vec2(0,1));
res += mat4(0.113321371376514,-0.086520999670029,-0.074655555188656,0.039967361837626,-0.126394093036652,-0.117409020662308,0.106217928230762,-0.015115406364202,0.146112352609634,-0.187352627515793,0.073926694691181,0.267305701971054,0.085615701973438,-0.156725227832794,-0.050106804817915,0.103959619998932) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.269565433263779,-0.015037339180708,-0.183726400136948,0.154039025306702,0.169757634401321,0.102409161627293,-0.065032996237278,0.029504859820008,-0.082005754113197,-0.129793465137482,-0.025865769013762,0.082236103713512,0.108988367021084,0.006570690311491,-0.007974139414728,-0.023014089092612) * MODEL5_texOff(vec2(1,0));
res += mat4(0.192415669560432,-0.049041364341974,-0.010425501503050,0.028001641854644,0.145385175943375,-0.263034820556641,0.026044225320220,0.092645302414894,0.048521906137466,0.119142942130566,0.097498416900635,0.031613472849131,0.135847553610802,-0.070962451398373,-0.218211486935616,0.136487290263176) * MODEL5_texOff(vec2(1,1));
res += mat4(0.115337893366814,-0.489888906478882,-0.031545624136925,-0.012516540475190,-0.130565866827965,-0.013176999054849,0.045461636036634,-0.062624014914036,-0.052955906838179,-0.057607010006905,0.002388601191342,-0.057449549436569,-0.087686784565449,0.027446331456304,-0.138438448309898,-0.091355584561825) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.031071392819285,-0.353894889354706,-0.006822627503425,-0.157026320695877,-0.166797548532486,-0.007516860496253,-0.067308448255062,0.090901844203472,0.045876245945692,0.023726796731353,-0.119226887822151,-0.242077365517616,-0.008579617366195,0.050976943224669,0.094563476741314,-0.039267558604479) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.066188380122185,-0.131997421383858,-0.036193918436766,-0.228848367929459,-0.116801671683788,-0.030231818556786,-0.061709016561508,-0.075678847730160,-0.037694904953241,0.087598249316216,-0.113131336867809,-0.103317633271217,-0.083899259567261,0.031002840027213,-0.072115696966648,0.000309334660415) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.106421239674091,0.052964847534895,0.043972179293633,-0.027381997555494,-0.082672551274300,-0.005043504759669,0.046857576817274,0.038303554058075,0.042545918375254,-0.175313174724579,-0.087687909603119,0.154637143015862,0.024913363158703,-0.252024441957474,-0.119466044008732,0.092415459454060) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.039677429944277,0.198044508695602,-0.030200077220798,-0.083467803895473,-0.067510597407818,-0.203092381358147,-0.090781375765800,0.385837674140930,-0.083022728562355,-0.075350664556026,-0.118891932070255,-0.062015678733587,0.019357467070222,-0.319900125265121,0.001424741814844,0.002127221552655) * MODEL6_texOff(vec2(0,0));
res += mat4(0.210759043693542,0.034167349338531,0.009779339656234,-0.371829897165298,0.120501220226288,-0.036364026367664,-0.014272538013756,0.013970242813230,-0.026148524135351,-0.107632935047150,-0.079592816531658,-0.269487857818604,-0.054970540106297,0.109804563224316,0.110981658101082,0.111124508082867) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.133391007781029,-0.179058074951172,-0.161554038524628,-0.084812611341476,-0.180076539516449,0.101073436439037,-0.087829887866974,-0.134367540478706,-0.031725257635117,-0.086134888231754,-0.241501465439796,0.012682544067502,-0.081857062876225,-0.065896563231945,-0.069958731532097,-0.055961716920137) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.183772414922714,-0.055323023349047,-0.197981819510460,0.073064476251602,0.385229080915451,0.169923067092896,0.110099188983440,-0.091262564063072,0.177556842565536,0.102310284972191,0.064560525119305,0.141179949045181,-0.021859858185053,-0.052693866193295,-0.101315766572952,-0.107385680079460) * MODEL6_texOff(vec2(1,0));
res += mat4(0.178540825843811,-0.337639302015305,0.008871909230947,-0.194864317774773,-0.080237999558449,-0.030174840241671,-0.103399612009525,0.022449500858784,0.051473032683134,-0.022850334644318,-0.062454357743263,0.004267178010195,0.062341939657927,0.154801249504089,0.104417517781258,-0.065866507589817) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.235981717705727,0.046911146491766,0.531494677066803,0.104947671294212) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 6_3

vec4 hook()
{
vec4 res = vec4(-0.221220791339874,-0.150128439068794,0.117446333169937,-0.108264058828354);
res += mat4(0.019479468464851,-0.158876821398735,0.113547936081886,0.029806707054377,0.145339637994766,0.240424066781998,-0.016709297895432,0.108344398438931,-0.067186400294304,-0.058278765529394,-0.009547258727252,0.075874760746956,-0.030196126550436,-0.042630441486835,0.047317955642939,-0.114300139248371) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.040964942425489,0.151754856109619,0.075661487877369,-0.006063256412745,0.061217237263918,-0.092917837202549,-0.037868469953537,0.373261421918869,-0.120644837617874,0.171893864870071,0.075512498617172,-0.121586382389069,-0.032894827425480,0.169018596410751,-0.003121929243207,-0.258591413497925) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.048748116940260,-0.037933442741632,-0.105762854218483,0.036111082881689,0.145888715982437,0.212524890899658,0.000701377401128,0.172514364123344,0.054717093706131,-0.095236293971539,-0.075265377759933,-0.070253916084766,0.002587035298347,-0.018076306208968,-0.031085483729839,-0.230446934700012) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.234413251280785,-0.019276956096292,-0.135513633489609,0.165262609720230,0.050969470292330,0.063209012150764,0.009063604287803,0.008420889265835,0.007598415948451,0.160687506198883,0.044104147702456,0.144234046339989,0.200622394680977,0.031789578497410,0.086719073355198,0.196431025862694) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.096304044127464,0.036983679980040,0.147546038031578,0.084113843739033,-0.183534860610962,0.170744225382805,0.003606291487813,-0.450341194868088,0.001046006917022,0.010880514048040,-0.131974682211876,0.224781513214111,0.084144279360771,0.102524206042290,-0.027893008664250,0.424168467521667) * MODEL1_texOff(vec2(0,0));
res += mat4(0.069779537618160,-0.031757295131683,-0.516573727130890,-0.083567328751087,0.127772450447083,-0.063841618597507,0.065037950873375,-0.024479599669576,0.040095929056406,-0.077108405530453,0.043495461344719,0.068760000169277,-0.151118919253349,0.051124088466167,0.060809396207333,0.116206586360931) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.017636984586716,-0.043311201035976,-0.046526417136192,-0.227867990732193,-0.002342604333535,0.080033205449581,0.014988183975220,-0.151330649852753,0.069918684661388,-0.096130251884460,-0.052131410688162,-0.117505386471748,-0.113663554191589,-0.010409489274025,0.040647253394127,-0.130373075604439) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.011946315877140,0.056204505264759,0.171741798520088,-0.196295991539955,-0.029314037412405,0.097109228372574,0.020816931501031,-0.077251814305782,0.090685516595840,-0.115791514515877,0.008552058599889,-0.528417706489563,0.030911585316062,0.180392816662788,0.148297667503357,-0.210224017500877) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.127944543957710,0.001957845874131,0.070752017199993,0.065909437835217,0.033062305301428,0.054384469985962,-0.002670340240002,-0.076614052057266,0.169414445757866,-0.114525131881237,0.078775927424431,-0.065281972289085,-0.069086953997612,-0.054677076637745,-0.086487703025341,-0.009013483300805) * MODEL1_texOff(vec2(1,1));
res += mat4(0.209614127874374,-0.004826876334846,0.014707971364260,0.011962902732193,0.098875433206558,0.147538468241692,0.002176191424951,0.058653466403484,0.022894941270351,0.036834210157394,-0.048108346760273,-0.010946126654744,0.041615858674049,0.020122235640883,-0.035930138081312,-0.021624283865094) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.196306899189949,-0.060920663177967,0.062438510358334,0.104087971150875,0.151785984635353,-0.101302824914455,0.066152796149254,0.163233637809753,0.156728893518448,0.004206251353025,0.037203438580036,-0.223407238721848,-0.116009235382080,0.222533226013184,-0.114263646304607,0.092503413558006) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.033558294177055,0.138709723949432,0.001514889998361,0.009953111410141,0.125752672553062,-0.013734562322497,-0.011741517111659,0.045488502830267,-0.296215236186981,-0.032154351472855,-0.099168732762337,-0.093626230955124,-0.092302694916725,0.092436335980892,0.070657208561897,-0.083434291183949) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.109219118952751,0.097966611385345,0.046880539506674,0.003763045417145,-0.044216465204954,0.195639640092850,0.093089610338211,0.037145022302866,0.024514798074961,0.126942992210388,-0.040700789541006,0.050625510513783,0.105256006121635,0.121702350676060,0.084500901401043,0.268276751041412) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.306055009365082,0.222218081355095,0.351176083087921,-0.250919371843338,0.132726907730103,0.105179347097874,0.051193792372942,0.100369125604630,0.041778724640608,-0.014601637609303,-0.029946956783533,0.199160277843475,-0.193566486239433,-0.020365109667182,0.024942979216576,0.078812249004841) * MODEL2_texOff(vec2(0,0));
res += mat4(0.096955426037312,-0.069586694240570,-0.238724410533905,-0.060449630022049,0.137834653258324,0.041390359401703,0.053989596664906,0.080130875110626,-0.033324796706438,-0.115397952497005,-0.184024333953857,0.140008345246315,0.008694613352418,-0.044690940529108,-0.065918505191803,0.133322298526764) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.041155613958836,-0.052589796483517,0.006295321043581,0.046871129423380,-0.231619730591774,0.085119105875492,0.057090353220701,-0.201338067650795,0.121820144355297,0.008837603963912,-0.088760629296303,-0.021214414387941,0.113965705037117,-0.040487442165613,0.048503402620554,-0.096954546868801) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.067285709083080,-0.117398634552956,0.287853002548218,-0.099640630185604,-0.066272504627705,-0.005521796643734,0.027096085250378,-0.129703834652901,-0.004172450862825,0.107991777360439,-0.052234601229429,-0.057995449751616,0.047850597649813,0.085664525628090,-0.058950096368790,-0.027949646115303) * MODEL2_texOff(vec2(1,0));
res += mat4(0.052023451775312,-0.049044750630856,-0.014926733449101,0.110383756458759,-0.093239128589630,-0.030497279018164,0.039162520319223,-0.257714837789536,0.013274970464408,0.039514433592558,0.018248071894050,0.196629762649536,-0.022138729691505,0.095117442309856,-0.070871010422707,-0.024277362972498) * MODEL2_texOff(vec2(1,1));
res += mat4(0.021849574521184,-0.040817249566317,0.082007318735123,-0.022757628932595,-0.049484036862850,0.033502984791994,-0.032202903181314,-0.017971793189645,-0.069273002445698,-0.061221543699503,0.019611729308963,-0.033553723245859,-0.290031343698502,-0.074833758175373,-0.070305719971657,-0.015776474028826) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.111401990056038,0.269897997379303,-0.135114520788193,0.042173672467470,0.162747547030449,0.024097736924887,-0.037707321345806,0.077037982642651,0.054695498198271,0.112795665860176,-0.018300870433450,0.096208132803440,-0.158617436885834,0.138869911432266,-0.011413698084652,0.180519402027130) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.226078256964684,-0.041948035359383,0.079544559121132,0.009537112899125,-0.172586709260941,0.067792870104313,0.035998400300741,-0.033527441322803,0.124672196805477,-0.261948704719543,0.097321808338165,-0.087317846715450,-0.115727379918098,0.085173524916172,0.110274165868759,0.184065520763397) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.001452715019695,0.000373272690922,0.088890150189400,-0.051899176090956,-0.001192085212097,-0.080291420221329,0.017847191542387,-0.007363082375377,-0.055991135537624,0.073577634990215,-0.041602659970522,0.161360740661621,0.017673943191767,-0.006828481331468,0.140618771314621,-0.031877052038908) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.084286041557789,0.066707529127598,-0.042877342551947,-0.095712736248970,0.261695176362991,0.043094184249640,0.083117529749870,-0.295910447835922,0.008019770495594,-0.165963008999825,-0.060110487043858,-0.231867060065269,-0.188166186213493,0.060742773115635,-0.099009238183498,-0.007631165441126) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.088550403714180,0.053978696465492,0.237820103764534,-0.184508591890335,-0.054825164377689,0.025838661938906,-0.175236612558365,-0.056541327387094,-0.139343976974487,0.091824442148209,-0.067760743200779,-0.169858381152153,-0.183317080140114,-0.079115875065327,-0.020978823304176,0.016858162358403) * MODEL3_texOff(vec2(0,1));
res += mat4(0.059133816510439,0.080009132623672,-0.006970674265176,-0.004356450866908,0.038689885288477,-0.083285555243492,-0.005576278083026,0.030727362260222,-0.026339864358306,-0.100441426038742,0.015038228593767,-0.049837186932564,-0.102597363293171,-0.075841136276722,-0.039857689291239,0.009651778265834) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.016511719673872,-0.013583122752607,-0.067197427153587,0.119633547961712,-0.045899108052254,0.112916439771652,0.151843875646591,0.040919393301010,0.075643144547939,0.108179971575737,0.013040747493505,0.045636635273695,-0.007508377544582,-0.063582718372345,-0.052141763269901,0.160123735666275) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.004622860811651,-0.244400367140770,0.037364237010479,0.071190327405930,-0.010687234811485,0.188221499323845,-0.122865989804268,0.180498659610748,0.088384158909321,0.100938126444817,-0.065008878707886,0.072610303759575,0.040258187800646,-0.138095080852509,0.178030267357826,-0.062273379415274) * MODEL3_texOff(vec2(1,1));
res += mat4(0.133115708827972,-0.039908718317747,-0.033006228506565,-0.003559657139704,-0.023847067728639,0.009682715870440,-0.010590067133307,0.083746254444122,-0.003541042329744,-0.137170940637589,0.029274914413691,0.118211656808853,-0.051332492381334,-0.035231344401836,-0.027730036526918,0.079614214599133) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.064507178962231,-0.110886238515377,-0.030104277655482,0.046932626515627,0.240142866969109,-0.042001880705357,0.200727239251137,0.083213776350021,-0.015284144319594,-0.036666393280029,-0.076545804738998,0.212173476815224,0.067689873278141,0.090829320251942,-0.040380936115980,-0.047013211995363) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.072882518172264,-0.120001889765263,-0.034712549299002,-0.100367970764637,-0.103770390152931,0.170076385140419,0.103849798440933,-0.083153225481510,-0.008893522433937,0.239974632859230,-0.158802837133408,-0.006619956344366,-0.120086014270782,0.070196084678173,-0.013283689506352,0.083687297999859) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.105625681579113,-0.158921882510185,0.066643007099628,-0.030186261981726,-0.160451456904411,-0.019733054563403,0.010960210114717,-0.022934067994356,0.150688245892525,0.032577186822891,0.046697918325663,-0.081437155604362,0.135712683200836,0.030115759000182,0.026245884597301,0.085140973329544) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.015626579523087,0.032903090119362,-0.479593306779861,-0.050844907760620,0.287359178066254,-0.018371764570475,0.066316947340965,-0.083108939230442,-0.031069712713361,0.059476282447577,-0.105999447405338,-0.086631216108799,-0.212658986449242,0.168436706066132,-0.002480927389115,-0.038132827728987) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.141805797815323,0.068715468049049,0.005391346290708,0.140809774398804,-0.216246545314789,0.156119495630264,0.224909961223602,0.161265060305595,0.212406083941460,-0.225377812981606,-0.420657038688660,-0.054953869432211,-0.265655577182770,0.143376246094704,-0.062180172652006,-0.033229816704988) * MODEL4_texOff(vec2(0,1));
res += mat4(0.032127924263477,-0.006147644948214,0.092193089425564,0.005449327640235,0.104603655636311,0.133114203810692,-0.022050453349948,0.079156368970871,-0.033995151519775,0.150156512856483,0.013529480434954,-0.102971039712429,0.029923388734460,0.055841669440269,-0.023261720314622,0.156839713454247) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.047563157975674,-0.182647481560707,-0.322055995464325,0.057848870754242,-0.110124878585339,-0.214711874723434,-0.020416550338268,0.141412898898125,0.002276006853208,0.029767591506243,-0.025242261588573,-0.137498125433922,0.122172743082047,0.044945329427719,0.123247362673283,0.040104057639837) * MODEL4_texOff(vec2(1,0));
res += mat4(0.044117178767920,0.033093579113483,0.052313819527626,0.037120915949345,-0.173895239830017,-0.229057535529137,0.034532401710749,0.007299686782062,-0.105386830866337,-0.042094811797142,0.014879785478115,-0.121666513383389,0.019839484244585,0.101435355842113,0.113342709839344,0.155683457851410) * MODEL4_texOff(vec2(1,1));
res += mat4(0.039540443569422,0.012219078838825,-0.042616426944733,-0.107694000005722,-0.130013138055801,0.078250117599964,-0.029645930975676,0.078376956284046,0.029824486002326,0.043918143957853,-0.048776447772980,0.022161098197103,0.116982199251652,-0.061971232295036,0.072280034422874,-0.203887715935707) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.204448044300079,0.283238083124161,-0.008445720188320,-0.194450616836548,0.064910255372524,-0.058600969612598,0.026791423559189,0.062642581760883,-0.100135572254658,-0.178764000535011,0.096589080989361,0.093083932995796,0.071737125515938,0.051594588905573,-0.072526805102825,-0.047515839338303) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.034739501774311,-0.069102577865124,-0.043344974517822,-0.225043714046478,-0.233217388391495,0.129857867956161,-0.098487995564938,-0.002018626779318,0.078127391636372,-0.037652444094419,0.097172476351261,0.165670424699783,0.350966632366180,-0.343070715665817,0.036976784467697,0.042744383215904) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.111607991158962,0.218382135033607,0.080239877104759,-0.044555328786373,-0.091644197702408,0.091147303581238,-0.099183924496174,0.163668349385262,0.094016976654530,0.134897544980049,0.112008579075336,0.032458558678627,-0.128727748990059,0.125136494636536,0.002625603927299,0.104415401816368) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.230446174740791,-0.162518456578255,-0.163722172379494,0.303282082080841,0.428633272647858,-0.199621066451073,0.223137870430946,-0.264222115278244,0.032354693859816,-0.067754596471786,-0.095903344452381,-0.065584011375904,0.032473467290401,-0.047209270298481,0.077470920979977,0.018405795097351) * MODEL5_texOff(vec2(0,0));
res += mat4(0.060971111059189,-0.027018873021007,0.060059845447540,-0.027394155040383,0.113415762782097,-0.053268667310476,0.064085476100445,-0.170777678489685,0.088485486805439,-0.106496989727020,-0.038716357201338,-0.076937429606915,0.161371007561684,-0.138316407799721,0.245261639356613,-0.099676117300987) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.045979578047991,-0.025181626901031,0.010752796195447,-0.003734902944416,-0.074708178639412,-0.034416850656271,-0.094976708292961,-0.068387649953365,0.041086714714766,0.001945810508914,-0.023241003975272,-0.136523842811584,-0.055507253855467,0.041955925524235,-0.016237117350101,0.267651945352554) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.058799117803574,0.092061348259449,0.187957718968391,-0.313114583492279,0.141754001379013,0.112570956349373,-0.111942529678345,-0.207729890942574,-0.180944517254829,-0.177843704819679,0.040101040154696,-0.113062277436256,-0.015461619012058,-0.068348102271557,0.018196105957031,0.124619565904140) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.005381783004850,-0.152321845293045,-0.038221430033445,0.000633574149106,-0.043003946542740,-0.011022706516087,-0.022115763276815,0.083895124495029,-0.040483031421900,0.060823064297438,0.035949479788542,-0.325351357460022,0.035230971872807,-0.084287554025650,0.222272008657455,-0.011616674251854) * MODEL5_texOff(vec2(1,1));
res += mat4(0.075125299394131,-0.052695330232382,0.032973188906908,-0.153393387794495,0.047400016337633,0.080322690308094,-0.022998968139291,0.054816402494907,0.273424685001373,0.100264579057693,0.105022162199020,-0.081490613520145,0.043551258742809,-0.026532370597124,0.020065512508154,-0.070547886192799) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.049964364618063,0.206755027174950,-0.018978960812092,-0.247220143675804,0.439459651708603,-0.276433318853378,-0.120200894773006,0.158860012888908,-0.109267130494118,0.151379257440567,-0.012994763441384,-0.199762195348740,-0.014916890300810,-0.192608609795570,-0.014100768603384,0.266711741685867) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.035328499972820,-0.194349944591522,-0.066023804247379,-0.109996549785137,0.175052389502525,-0.085840307176113,0.102559886872768,0.079541474580765,-0.012735664844513,-0.066441275179386,0.020593989640474,-0.019690291956067,0.201445952057838,0.126884803175926,0.188408628106117,-0.006293887272477) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.040422234684229,-0.022966939955950,-0.042095728218555,0.019074501469731,-0.176526919007301,-0.038042522966862,-0.154574275016785,0.023515909910202,-0.162597447633743,0.166567400097847,-0.054823264479637,-0.015553194098175,-0.050731398165226,0.046801999211311,0.013166775926948,-0.081583134829998) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.087034232914448,0.062484081834555,0.119462005794048,0.097406007349491,0.155380174517632,0.376218140125275,0.080158315598965,-0.093163423240185,0.071964778006077,0.356779456138611,-0.060157269239426,0.313708364963531,-0.441910475492477,0.050928965210915,-0.078090108931065,0.010753530077636) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.148666501045227,0.118534967303276,0.064937017858028,0.008531433530152,-0.111563540995121,-0.064873270690441,0.109578676521778,0.020673885941505,-0.197298452258110,0.050703618675470,-0.024684125557542,0.195101350545883,0.003508387133479,-0.112088225781918,-0.324278473854065,0.123128965497017) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.028664674609900,-0.003648003563285,-0.020531360059977,-0.156109914183617,-0.054274406284094,0.094359576702118,-0.015580154024065,0.039218109101057,-0.021734036505222,0.135711967945099,0.011626479215920,-0.094762861728668,0.147343173623085,-0.044037498533726,0.022660123184323,-0.086290098726749) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.022215742617846,0.034116107970476,0.084147430956364,-0.031471006572247,-0.098103284835815,-0.176296278834343,-0.080461457371712,-0.240263164043427,-0.182633936405182,0.158545210957527,-0.011698629707098,0.000900937768165,-0.078888349235058,0.021328920498490,-0.045018333941698,0.050844162702560) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.068277657032013,-0.129287108778954,-0.079971268773079,-0.074178650975227,-0.045382317155600,-0.191392093896866,0.074055716395378,-0.081273540854454,-0.087161064147949,-0.073706202208996,-0.035453122109175,-0.044441148638725,0.022400153800845,-0.006924582645297,-0.206968173384666,-0.074566535651684) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.490002661943436,0.472767472267151,-0.223861664533615,-0.070995338261127) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 6_4

vec4 hook()
{
vec4 res = vec4(0.135485440492630,-0.084969967603683,0.022283235564828,-0.244346350431442);
res += mat4(-0.384095996618271,-0.018063148483634,-0.006227195262909,0.061819620430470,0.049494657665491,-0.014213372021914,-0.001695099519566,0.125061497092247,0.027058323845267,-0.145977646112442,-0.026950202882290,0.051646959036589,0.103130199015141,-0.037213724106550,-0.062487084418535,-0.138576000928879) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.111837536096573,-0.090522892773151,-0.074621871113777,-0.070922933518887,0.096608437597752,0.156682401895523,0.078634575009346,0.330129921436310,-0.194889307022095,0.165863975882530,0.040416993200779,-0.159863740205765,-0.098936058580875,0.175893694162369,0.126690223813057,-0.116476133465767) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.113493055105209,-0.151616632938385,0.000502280192450,0.085356533527374,-0.009744266979396,-0.110897555947304,-0.156893953680992,0.119868375360966,0.043045103549957,-0.032267320901155,-0.052616070955992,0.134740740060806,-0.018896238878369,-0.015840999782085,0.032793570309877,0.001869315980002) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.194466784596443,0.081253714859486,-0.049576461315155,0.234832376241684,-0.117738172411919,-0.313236743211746,0.205496013164520,0.128771305084229,-0.201840341091156,-0.013537403196096,-0.284775108098984,0.007662658113986,-0.030201500281692,0.098574921488762,-0.043167296797037,-0.162662982940674) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.315081477165222,0.185666725039482,-0.164899706840515,-0.021865364164114,0.034413170069456,0.105491191148758,0.097704872488976,-0.027845120057464,0.078455850481987,-0.116487689316273,-0.403680056333542,0.027500007301569,-0.045492134988308,-0.064517430961132,-0.083817668259144,0.155073598027229) * MODEL1_texOff(vec2(0,0));
res += mat4(0.092957824468613,0.035830862820148,0.064719989895821,-0.055016182363033,0.041867282241583,-0.027189953252673,-0.141810163855553,0.005432710051537,-0.066457688808441,0.050603177398443,-0.113613992929459,-0.008337167091668,-0.071613803505898,-0.112023994326591,-0.065447777509689,0.007356402464211) * MODEL1_texOff(vec2(0,1));
res += mat4(0.186675265431404,-0.086544409394264,-0.035149823874235,-0.038236983120441,-0.059275463223457,0.101637355983257,0.072003364562988,-0.023082690313458,-0.081209249794483,0.049758687615395,0.059164110571146,0.039712026715279,0.180287837982178,-0.060154650360346,-0.107292942702770,-0.181186839938164) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.126932010054588,0.103937529027462,0.062733523547649,-0.079334504902363,-0.013865632936358,-0.222507074475288,0.109737187623978,-0.028688753023744,-0.057961005717516,0.168685629963875,0.304852217435837,-0.016659276559949,-0.021792104467750,0.099131576716900,-0.019691670313478,-0.016291432082653) * MODEL1_texOff(vec2(1,0));
res += mat4(0.061495766043663,-0.039409961551428,-0.087572775781155,0.113486781716347,0.024594023823738,0.021111816167831,-0.096884533762932,-0.032569389790297,0.058470763266087,-0.084230937063694,0.051080506294966,0.021182384341955,0.087014228105545,0.040251448750496,0.068969234824181,0.048626232892275) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.191395565867424,0.067161269485950,0.042654257267714,0.153663441538811,-0.162347897887230,-0.049865014851093,-0.013077226467431,0.164551809430122,-0.082603201270103,-0.035126842558384,-0.112643331289291,-0.106963701546192,-0.030296765267849,0.207746818661690,-0.059801131486893,0.134361043572426) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.006504988763481,-0.056050118058920,0.137162521481514,0.170411512255669,-0.019897911697626,0.023997819051147,-0.086622573435307,0.091357000172138,0.076674573123455,-0.104417018592358,-0.135314479470253,-0.158502742648125,0.145178183913231,-0.155435934662819,-0.139296397566795,0.130257323384285) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.012349097058177,-0.009952735155821,0.094225853681564,0.032087542116642,0.017102675512433,0.080177426338196,-0.064494132995605,0.052165802568197,-0.175556361675262,0.100200518965721,0.054455731064081,0.042634986341000,0.123224541544914,0.082023471593857,-0.070216290652752,0.092095054686069) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.338198333978653,-0.010333972983062,0.289692908525467,0.112775385379791,-0.237316280603409,-0.085151299834251,0.049450103193521,0.215231508016586,-0.004808010533452,-0.085433535277843,-0.093530312180519,0.001698667998426,0.233886852860451,0.061818242073059,0.050017982721329,0.026083115488291) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.292613595724106,0.076922230422497,0.112702094018459,-0.198168411850929,0.152500241994858,-0.034061443060637,-0.064031332731247,0.162657797336578,0.049158755689859,-0.019792171195149,-0.180118143558502,0.195350974798203,0.030632061883807,0.187493443489075,-0.038504842668772,-0.189219623804092) * MODEL2_texOff(vec2(0,0));
res += mat4(0.053223274648190,0.017844174057245,0.147825032472610,-0.012995897792280,-0.104676827788353,0.031149256974459,-0.003316458780318,0.150550827383995,-0.069804824888706,-0.269100517034531,0.050297148525715,-0.009108042344451,0.103200383484364,0.012408767826855,-0.007536201737821,0.023354459553957) * MODEL2_texOff(vec2(0,1));
res += mat4(0.025872902944684,0.005585912149400,0.030959466472268,0.109129726886749,-0.192511320114136,0.242650270462036,-0.078781776130199,0.041466120630503,0.014073148369789,-0.047966811805964,-0.067964211106300,-0.127811461687088,-0.013596305623651,-0.041015069931746,0.039608944207430,-0.040429018437862) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.108439393341541,-0.028003131970763,-0.111977867782116,0.021446451544762,-0.209732204675674,-0.038995701819658,0.090151868760586,-0.096559658646584,0.016045594587922,-0.077801227569580,-0.108924172818661,-0.054262634366751,0.095952488481998,0.020162109285593,0.108057968318462,0.197874814271927) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.093923613429070,0.058982640504837,0.051593482494354,-0.069408804178238,-0.056541193276644,-0.025458488613367,-0.069713212549686,-0.109095700085163,-0.121360138058662,0.072028324007988,-0.036892924457788,0.113785021007061,0.124969825148582,0.136380210518837,-0.044127970933914,-0.011394043453038) * MODEL2_texOff(vec2(1,1));
res += mat4(0.154643967747688,0.033264067023993,0.004392683040351,-0.102108582854271,0.025361584499478,0.014981039799750,-0.050278726965189,-0.104787774384022,-0.183143407106400,0.115588404238224,-0.049677614122629,-0.056667979806662,-0.054014269262552,-0.128361046314240,-0.077226005494595,0.277760595083237) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.060786217451096,0.075477145612240,-0.180978819727898,0.035575952380896,0.298511266708374,-0.096543498337269,-0.202010676264763,-0.038145534694195,-0.129749566316605,-0.094660907983780,0.076349459588528,-0.081085845828056,0.114742234349251,-0.109270960092545,-0.193254172801971,0.188415199518204) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.058800440281630,0.013700630515814,0.024049755185843,-0.057085946202278,-0.090203791856766,0.057424660772085,0.021623440086842,-0.140771329402924,0.062477018684149,-0.236831352114677,-0.277289509773254,0.071117967367172,-0.067058093845844,-0.012412597425282,-0.056558560580015,0.090016417205334) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.095189608633518,0.063276678323746,-0.287910014390945,-0.025456279516220,-0.125034660100937,0.004832074511796,-0.239776998758316,-0.080784618854523,-0.002450651722029,-0.116342402994633,-0.006246498320252,-0.283509880304337,-0.065625987946987,-0.063151352107525,0.031052296981215,0.156316429376602) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.127543672919273,0.005751607939601,0.335610538721085,-0.167049944400787,-0.056612759828568,0.139046072959900,0.112114310264587,0.353738427162170,0.088747493922710,-0.047419194132090,-0.082924097776413,0.014551173895597,-0.135022804141045,0.227715954184532,0.145610123872757,-0.324262946844101) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.150629147887230,-0.166213631629944,0.191647633910179,0.181745573878288,0.268185853958130,-0.228375166654587,-0.401264965534210,-0.193286567926407,-0.082105919718742,-0.145959168672562,-0.100365094840527,0.164751365780830,-0.068545818328857,-0.093828618526459,-0.231117561459541,0.002348547102883) * MODEL3_texOff(vec2(0,1));
res += mat4(0.046800360083580,-0.007010478526354,0.002284920075908,-0.150013208389282,0.148049861192703,-0.077887162566185,-0.080792069435120,-0.168321371078491,0.115416720509529,-0.069360867142677,0.112807214260101,-0.083768084645271,-0.089704945683479,0.021316276863217,0.044875588268042,0.029350718483329) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.092301286756992,-0.091286584734917,0.064243309199810,0.021291829645634,-0.179976865649223,0.033097572624683,0.104782603681087,-0.113266587257385,0.035137310624123,0.102147556841373,0.021975146606565,-0.208682700991631,-0.065037243068218,0.025723939761519,0.189030721783638,-0.042130358517170) * MODEL3_texOff(vec2(1,0));
res += mat4(0.078323945403099,-0.255768924951553,-0.095328927040100,0.070645399391651,-0.174820527434349,0.096485599875450,0.085873775184155,-0.141304418444633,-0.078770652413368,0.104966349899769,0.070428140461445,0.003529196605086,0.086091637611389,-0.064488865435123,0.037718594074249,-0.124686934053898) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.059717547148466,-0.268271565437317,-0.030869174748659,0.024993065744638,0.206052273511887,-0.133153930306435,-0.058833077549934,0.109442368149757,0.229930579662323,-0.136191412806511,-0.041863866150379,-0.102515734732151,-0.039342284202576,-0.070134982466698,-0.022350164130330,-0.024565557017922) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.090112723410130,-0.265635550022125,-0.087732642889023,0.031382050365210,0.137599706649780,-0.089702814817429,-0.082197993993759,0.027856152504683,-0.063823200762272,0.019232211634517,-0.071304507553577,0.129309684038162,-0.109744668006897,0.242914989590645,-0.200133681297302,-0.066636033356190) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.000420775759267,0.030751202255487,0.007626353297383,-0.016777081415057,-0.202249437570572,0.153477281332016,0.041272576898336,-0.014381315559149,-0.123049706220627,-0.049349814653397,-0.117141351103783,0.159145876765251,-0.025972878560424,-0.055733915418386,-0.160690397024155,0.176442891359329) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.260326653718948,0.047178275883198,0.345636457204819,0.064732261002064,0.078892000019550,-0.159001499414444,-0.069126531481743,0.050891671329737,-0.191331028938293,0.130746364593506,0.084254443645477,0.140452876687050,-0.028756082057953,0.018231106922030,-0.071982786059380,-0.034143500030041) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.117626748979092,-0.089768864214420,-0.291475683450699,0.316067188978195,0.271163880825043,-0.323818057775497,-0.131240397691727,-0.169477567076683,-0.148326233029366,-0.057530440390110,0.028956675902009,-0.020049205049872,0.065183810889721,0.068645834922791,-0.377684801816940,-0.046979002654552) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.095790483057499,-0.116597905755043,-0.021747125312686,-0.092005617916584,-0.335244953632355,-0.003115623025224,0.078812554478645,0.079141475260258,0.112425200641155,-0.005356196779758,-0.085680894553661,0.039868474006653,-0.140558376908302,0.167446643114090,-0.208167657256126,-0.037750881165266) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.064944811165333,-0.055125318467617,-0.050147332251072,-0.069886766374111,-0.319380700588226,0.190905451774597,0.072761699557304,-0.041938211768866,0.115920215845108,0.136466845870018,-0.030293395742774,0.107540875673294,-0.054718807339668,-0.112569049000740,-0.071687504649162,-0.142757803201675) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.017676878720522,0.177101925015450,-0.004761530086398,0.121188901364803,-0.000879829516634,0.046984955668449,0.024175731465220,-0.231396019458771,-0.008137809112668,-0.081285074353218,0.050064679235220,-0.033237673342228,0.069305196404457,0.112485103309155,-0.191982552409172,0.024427624419332) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.030573785305023,0.019536549225450,0.045525420457125,0.017174180597067,0.091438882052898,-0.152811154723167,-0.143821328878403,0.052397731691599,0.035522896796465,0.097950629889965,-0.058901738375425,0.004907852504402,0.122077241539955,-0.152559563517570,0.077712714672089,-0.030522519722581) * MODEL4_texOff(vec2(1,1));
res += mat4(0.194409161806107,-0.093566201627254,0.015428570099175,-0.043492063879967,0.007360508665442,0.188221141695976,-0.027511004358530,0.112037941813469,0.039529830217361,-0.146647319197655,0.007777825463563,0.106389626860619,-0.094050519168377,0.095927335321903,-0.061091303825378,-0.019174899905920) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.001448769471608,-0.022321630269289,0.165888458490372,-0.047458246350288,0.142147183418274,-0.095131561160088,-0.093532703816891,0.279273748397827,0.039835199713707,-0.163361355662346,-0.007911941967905,-0.009563842788339,-0.147967100143433,-0.171968653798103,0.089459799230099,0.207599923014641) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.044991463422775,-0.070664875209332,0.088928803801537,0.012403562664986,-0.229841068387032,-0.133960932493210,-0.012295064516366,0.055645339190960,-0.187881991267204,0.114835768938065,0.030902892351151,0.067073196172714,0.088092967867851,0.006771025247872,-0.034326639026403,0.002343202475458) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.102302983403206,0.063025318086147,0.116852343082428,0.136848777532578,-0.174041152000427,0.051938645541668,-0.098080530762672,-0.169415786862373,-0.032161101698875,0.035213388502598,0.017804853618145,0.029523007571697,-0.067277222871780,0.072946295142174,-0.108480811119080,0.083239316940308) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.009610056877136,-0.236488133668900,-0.157467484474182,0.098905920982361,0.041145339608192,0.219524636864662,-0.238374054431915,-0.109967172145844,0.131210371851921,-0.114681936800480,0.132902860641479,-0.032835289835930,-0.249678656458855,0.013095470145345,0.108484134078026,-0.043302685022354) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.057188853621483,-0.171018913388252,0.163782909512520,-0.147848680615425,0.230792909860611,-0.130199640989304,0.047883726656437,0.006298807915300,0.079199679195881,-0.251117587089539,0.052495088428259,-0.132348820567131,0.033003471791744,-0.055615872144699,-0.062604151666164,-0.043818995356560) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.254831910133362,-0.052967019379139,-0.112814895808697,0.083721488714218,-0.038809157907963,-0.194479510188103,0.114231482148170,0.123383738100529,-0.222754016518593,-0.112745426595211,-0.092461198568344,-0.106883205473423,-0.029096264392138,-0.107872225344181,0.046807620674372,0.111447148025036) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.032286290079355,-0.200321361422539,-0.253291636705399,-0.193376451730728,0.001747141708620,0.061213091015816,0.098099768161774,-0.165511086583138,-0.300597131252289,0.018013814464211,-0.022504471242428,0.000964465027209,-0.051141746342182,-0.017261648550630,0.038327682763338,-0.088714495301247) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.060542073100805,-0.064134791493416,0.108913622796535,-0.079258657991886,0.232799798250198,0.150289267301559,-0.080287106335163,-0.019678350538015,-0.197995468974113,0.059219833463430,-0.056215278804302,-0.077378742396832,0.039445169270039,-0.074934631586075,-0.057581696659327,-0.277120262384415) * MODEL5_texOff(vec2(1,1));
res += mat4(0.024534266442060,0.204143628478050,-0.019128646701574,0.003358224639669,-0.060516167432070,-0.022088335826993,0.058162327855825,0.240861639380455,0.005620873533189,0.038368847221136,-0.027685739099979,0.150046423077583,0.122943967580795,0.045557320117950,-0.049685887992382,0.008565098978579) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.068674467504025,0.141679525375366,0.032204467803240,0.000290345633402,0.096659503877163,0.074591711163521,0.100116886198521,0.120595365762711,0.030796719714999,0.144202202558517,-0.035101268440485,0.192890405654907,0.195177808403969,-0.043409489095211,-0.102423943579197,0.000607701367699) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.159164890646935,-0.020899934694171,0.016426911577582,0.076095446944237,0.046055093407631,-0.015304542146623,-0.077454164624214,0.044358126819134,-0.027589924633503,-0.017542427405715,-0.119947746396065,-0.054857216775417,-0.142947554588318,0.197855979204178,-0.006132283713669,-0.268953800201416) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.140367656946182,0.094085514545441,-0.008893351070583,-0.106394782662392,-0.278040409088135,0.063083045184612,0.141046211123466,0.188644498586655,-0.105623118579388,-0.048840053379536,0.002185743069276,-0.100569412112236,-0.037437289953232,-0.075689345598221,0.002425238257274,-0.064916595816612) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.093541018664837,0.226043730974197,-0.003129474353045,0.166974037885666,-0.047106403857470,-0.368218630552292,0.178657755255699,-0.531409800052643,0.100127309560776,0.024187721312046,-0.059107467532158,0.045930303633213,0.005920746829361,0.002929355949163,-0.092779457569122,-0.192182421684265) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.046771220862865,0.175211504101753,0.037714481353760,0.095968753099442,0.016491850838065,0.147500574588776,-0.151501193642616,0.097271062433720,0.065721541643143,0.089781567454338,0.013182842172682,0.150377959012985,0.058053433895111,-0.102731473743916,-0.160064503550529,0.030841642990708) * MODEL6_texOff(vec2(0,1));
res += mat4(0.192524880170822,0.008589827455580,0.089137889444828,0.087723180651665,0.010649889707565,0.131587818264961,0.020404437556863,0.126453295350075,0.203234389424324,-0.043129242956638,0.016076136380434,-0.130900040268898,0.166897833347321,-0.014945638366044,0.090966060757637,-0.164013713598251) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.247782617807388,0.140354916453362,-0.022908493876457,-0.123810328543186,0.070322155952454,0.054318789392710,-0.020928012207150,-0.063444145023823,-0.074543476104736,0.080561690032482,-0.022864798083901,-0.027448661625385,0.147262826561928,-0.083552390336990,-0.098383121192455,-0.121126882731915) * MODEL6_texOff(vec2(1,0));
res += mat4(0.097221992909908,0.184796363115311,0.089953184127808,0.097923308610916,-0.017192095518112,-0.133242636919022,-0.081620797514915,-0.024267733097076,-0.003907391801476,0.078048981726170,-0.077863842248917,0.024830896407366,-0.042818129062653,0.152534455060959,-0.164713859558105,-0.006281872279942) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.003931362647563,-0.038269706070423,0.557883262634277,0.672479271888733) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 6_5

vec4 hook()
{
vec4 res = vec4(0.039016637951136,-0.061079107224941,-0.043157454580069,-0.246704831719398);
res += mat4(-0.127457126975060,0.167995259165764,-0.062885701656342,-0.070107586681843,0.101364277303219,0.076677449047565,0.080855473875999,0.030307734385133,-0.064160756766796,-0.003678366541862,-0.034876577556133,-0.185433462262154,-0.045111522078514,-0.053565833717585,-0.115268833935261,-0.007163653150201) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.017266426235437,0.070418983697891,-0.071319691836834,-0.101297765970230,-0.183851689100266,-0.102966293692589,0.055062588304281,0.126570835709572,-0.004549043253064,0.134508907794952,-0.034446626901627,-0.049685560166836,0.052742008119822,0.052624233067036,-0.084661602973938,-0.199514150619507) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.081081449985504,-0.102331534028053,-0.024907140061259,-0.084411703050137,-0.048295006155968,0.022528402507305,-0.000640700454824,0.087432317435741,0.055725507438183,-0.117027841508389,0.039410330355167,-0.019378559663892,0.044283367693424,-0.032955389469862,0.018606120720506,-0.010713298805058) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.338945984840393,-0.203204184770584,-0.121976055204868,0.083810441195965,0.080912321805954,0.062206622213125,0.089501939713955,-0.206148847937584,0.110435612499714,0.021316194906831,0.045979484915733,-0.012946642003953,0.109910771250725,0.131726652383804,0.099769398570061,0.033202733844519) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.195624396204948,0.130993932485580,-0.086479641497135,0.054553508758545,-0.315570563077927,-0.020090328529477,0.049262437969446,0.018392503261566,0.183280587196350,-0.023320365697145,0.085596866905689,0.347633510828018,-0.117731109261513,-0.044692937284708,0.200980290770531,0.039326902478933) * MODEL1_texOff(vec2(0,0));
res += mat4(0.098670840263367,-0.299356758594513,0.032112557440996,-0.250706255435944,0.064417645335197,0.012103298678994,0.073764555156231,-0.096597798168659,-0.093365110456944,0.008440197445452,-0.063355609774590,0.051357500255108,0.024279572069645,-0.041170388460159,0.121971234679222,0.133557766675949) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.323357045650482,-0.056733123958111,-0.011919865384698,-0.059167727828026,0.099863886833191,0.103830799460411,-0.001754899276420,-0.108717449009418,0.028647255152464,-0.087735138833523,-0.436966836452484,-0.044799145311117,0.060288120061159,0.136035352945328,0.088715821504593,0.023627210408449) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.024276809766889,0.224089950323105,0.000771295744926,0.059042144566774,-0.121298663318157,-0.105894200503826,0.104186497628689,0.077790059149265,-0.172289595007896,-0.069458715617657,-0.683750510215759,-0.256211489439011,-0.006632775533944,-0.001623540185392,0.170248001813889,0.064905576407909) * MODEL1_texOff(vec2(1,0));
res += mat4(0.051677566021681,-0.054133027791977,0.113797940313816,0.024354880675673,0.134532317519188,0.042613029479980,-0.074319973587990,-0.022838700562716,-0.089370928704739,0.123057700693607,-0.098017178475857,-0.071554414927959,0.063895240426064,-0.143574416637421,-0.000398777774535,-0.159106761217117) * MODEL1_texOff(vec2(1,1));
res += mat4(0.004970897454768,-0.016219252720475,-0.004939530510455,0.049172788858414,0.111355744302273,0.057387091219425,0.012188847176731,0.102540224790573,-0.055223062634468,-0.021842686459422,-0.068172112107277,0.054042927920818,0.127713024616241,-0.088687106966972,-0.009722432121634,0.131336867809296) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.161366894841194,0.003552650334314,0.096912153065205,0.016825437545776,-0.104448959231377,-0.137780278921127,0.114802062511444,-0.026089215651155,0.148839652538300,0.001052560633980,-0.115895807743073,-0.101172238588333,0.056373018771410,-0.095663323998451,0.065568797290325,0.209954693913460) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.027572993189096,-0.003149023745209,-0.000227095326409,-0.020647784695029,-0.086113609373569,-0.109383150935173,-0.093411669135094,0.129153102636337,0.078778229653835,0.039864715188742,-0.107034750282764,0.068616896867752,0.021281555294991,0.177682772278786,-0.075171470642090,-0.035079222172499) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.132354870438576,0.106450885534286,-0.173099800944328,-0.080440916121006,0.099668473005295,0.087456934154034,0.103893741965294,0.102742604911327,-0.178158402442932,-0.074170969426632,-0.056881204247475,0.126957327127457,-0.018160035833716,0.013687278144062,-0.064204588532448,0.050013791769743) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.311729669570923,0.086771398782730,-0.236280009150505,-0.018393900245428,-0.126444905996323,-0.191145271062851,0.070602737367153,-0.131943166255951,0.319183945655823,0.118959307670593,0.101643025875092,0.141981318593025,0.073789283633232,0.154833287000656,-0.114735543727875,0.056772995740175) * MODEL2_texOff(vec2(0,0));
res += mat4(0.154615849256516,-0.385504186153412,0.071412563323975,-0.042433712631464,-0.110662557184696,0.001259928103536,-0.058633536100388,0.066262565553188,-0.028044113889337,-0.151916846632957,-0.118316441774368,-0.011257994920015,0.180842831730843,0.117987133562565,-0.177653685212135,0.028114793822169) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.061463110148907,0.013546938076615,0.287436753511429,0.019526727497578,0.218201115727425,0.175634011626244,0.133444681763649,0.211870163679123,-0.017478609457612,-0.072747185826302,0.010474869050086,0.037534665316343,-0.139822378754616,0.008077271282673,-0.105980023741722,-0.032053604722023) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.091280408203602,0.053914614021778,0.261261194944382,0.012765584513545,-0.165708407759666,-0.165997132658958,0.171925440430641,0.137669101357460,0.161754459142685,0.016991162672639,-0.001819530385546,0.053647398948669,-0.058305919170380,-0.022546198219061,-0.305483102798462,-0.075306266546249) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.034715823829174,-0.236205667257309,0.015550250187516,-0.042688697576523,0.028882730752230,0.030069004744291,0.051712099462748,0.249530032277107,0.002357365563512,0.005977809894830,-0.068961702287197,-0.040496058762074,0.151315450668335,0.038559958338737,-0.063416831195354,-0.044229220598936) * MODEL2_texOff(vec2(1,1));
res += mat4(0.011727484874427,0.107572749257088,0.030571876093745,-0.049449209123850,0.037011001259089,0.035666313022375,0.023856526240706,0.082261897623539,0.107898660004139,0.019467748701572,0.059913851320744,0.064629927277565,-0.031337302178144,-0.024940896779299,-0.019875308498740,0.184448808431625) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.117154613137245,-0.109768360853195,-0.051570035517216,0.079071916639805,0.113704107701778,-0.033165123313665,0.040014646947384,0.209147870540619,-0.274170666933060,-0.167097568511963,-0.066457703709602,-0.226272821426392,0.062231589108706,-0.007539353333414,0.174980342388153,0.057923495769501) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.000642132945359,0.190559744834900,0.010773297399282,-0.074276633560658,-0.108121633529663,0.075969271361828,0.023302024230361,0.024657411500812,0.057733211666346,-0.025751877576113,0.073587574064732,0.092412404716015,-0.051326349377632,0.153508558869362,-0.033930182456970,0.060717456042767) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.052566014230251,0.066061325371265,0.064132295548916,0.113361418247223,-0.096989229321480,0.002683526137844,-0.164881244301796,0.248549923300743,0.046823974698782,-0.109746046364307,-0.036129381507635,0.002405043458566,-0.064363464713097,0.116545177996159,-0.229668468236923,-0.002761733019724) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.090938426554203,0.044947993010283,-0.078145824372768,0.016426188871264,-0.094146765768528,0.254022330045700,-0.111655779182911,0.001483111409470,0.036400936543941,-0.147719904780388,0.081781044602394,0.152008756995201,-0.043023318052292,-0.000563201727346,0.027611128985882,-0.051874656230211) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.173566848039627,0.289998114109039,0.121250525116920,-0.125120311975479,0.409501016139984,-0.204010576009750,0.016912255436182,0.067456029355526,0.059674795717001,-0.123679280281067,-0.021158646792173,0.127873122692108,0.026420274749398,-0.072438210248947,-0.046133622527122,0.061253968626261) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.089004151523113,-0.134319245815277,-0.023246701806784,-0.042282368987799,-0.109393663704395,-0.073119401931763,-0.093210622668266,0.100672118365765,-0.102859087288380,-0.085763670504093,0.032511983066797,-0.035178076475859,0.105947740375996,-0.065021015703678,-0.544034957885742,-0.083688929677010) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.175971269607544,0.007936951704323,0.363288193941116,-0.027384627610445,-0.099906563758850,0.102852307260036,0.051092989742756,-0.082261517643929,0.189950600266457,0.086858555674553,-0.035461980849504,-0.042152620851994,-0.251845806837082,-0.191942930221558,-0.384951978921890,-0.006599124521017) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.096964679658413,0.086509332060814,0.135408177971840,0.009623416699469,0.268442362546921,-0.349118560552597,-0.061200093477964,-0.051812160760164,0.154191851615906,0.028386332094669,0.010487552732229,0.039278563112020,0.102316826581955,0.208742231130600,-0.146170526742935,-0.017028810456395) * MODEL3_texOff(vec2(1,1));
res += mat4(0.033113602548838,-0.031348604708910,-0.047938503324986,-0.180015206336975,-0.025330794975162,0.009899368509650,0.048928409814835,0.106915533542633,-0.012007565237582,-0.007992323487997,0.080514833331108,0.141606792807579,0.070340842008591,0.035638701170683,-0.090914495289326,-0.002478477777913) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.117162786424160,-0.014833797700703,0.027872066944838,0.168563723564148,-0.074605725705624,0.151758134365082,-0.128167480230331,-0.061522554606199,0.064156390726566,0.100234821438789,-0.108269505202770,0.120721712708473,-0.017558226361871,-0.091193355619907,-0.091022446751595,0.037226703017950) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.041677977889776,0.008902225643396,0.040610469877720,-0.011986289173365,-0.063687406480312,0.026840720325708,-0.010509500280023,0.081522405147552,0.297445893287659,0.132517963647842,0.090008027851582,-0.048159003257751,0.203080326318741,-0.086629800498486,0.028674157336354,0.155835703015327) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.188627049326897,0.084218800067902,-0.090363353490829,-0.524143636226654,-0.085420474410057,-0.032227717339993,-0.003001378150657,-0.053727373480797,0.203132092952728,0.106020405888557,0.127728670835495,-0.130052089691162,0.088711231946945,0.137720465660095,-0.063216105103493,0.063530698418617) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.115501426160336,-0.459640860557556,-0.081504881381989,-0.002179640578106,-0.136860370635986,-0.252948582172394,0.144556671380997,-0.075815014541149,-0.032351940870285,-0.080655045807362,-0.232162415981293,-0.031625617295504,-0.032703448086977,-0.034625761210918,-0.165211066603661,0.254344314336777) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.173079535365105,0.047380514442921,-0.052476141601801,0.050830189138651,-0.449688017368317,0.222781911492348,-0.040362846106291,0.060878500342369,0.188628092408180,-0.258003264665604,0.058568879961967,-0.013787223026156,0.210254848003387,-0.128260046243668,-0.082863703370094,0.118922472000122) * MODEL4_texOff(vec2(0,1));
res += mat4(0.157630726695061,0.079289056360722,0.180260404944420,-0.120388507843018,0.035448338836432,-0.147955670952797,0.051257781684399,0.070719338953495,0.127164214849472,0.009575154632330,0.088326595723629,0.115834549069405,-0.088764801621437,0.000698255316820,-0.053093243390322,0.041753113269806) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.120226554572582,-0.437702536582947,-0.268445730209351,-0.108526267111301,-0.107780911028385,-0.119827441871166,-0.138760671019554,0.080121837556362,-0.158344477415085,-0.025861904025078,0.368443578481674,0.059776827692986,-0.044686336070299,0.088227450847626,-0.383850485086441,0.082015693187714) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.013851673342288,0.152542352676392,-0.063549123704433,0.002735402667895,-0.053829263895750,0.110950604081154,0.096694484353065,-0.007125400006771,-0.003609261941165,-0.372240662574768,0.107725687325001,0.104403771460056,-0.073755227029324,0.256815314292908,-0.172316089272499,0.034862227737904) * MODEL4_texOff(vec2(1,1));
res += mat4(0.000967760221101,-0.059295479208231,-0.046547010540962,-0.133294582366943,0.149752199649811,0.191722393035889,-0.123654939234257,0.054385904222727,0.057889878749847,0.025168422609568,-0.019723683595657,0.006365539971739,-0.006431269459426,0.127472087740898,0.067629598081112,-0.041658159345388) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.072655886411667,0.041543591767550,-0.048346452414989,-0.060903884470463,0.053670287132263,0.143715590238571,0.151364848017693,0.073124013841152,0.008331937715411,-0.010923634283245,0.108825288712978,0.078061014413834,-0.057182874530554,-0.060412257909775,0.061263322830200,-0.202999055385590) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.067416526377201,0.028773346915841,0.089156106114388,-0.172824084758759,-0.211099267005920,-0.129211291670799,0.003311987500638,-0.096298217773438,-0.239684686064720,0.013884072192013,0.057891167700291,-0.005007037427276,0.005258891265839,-0.325571089982986,-0.015357282012701,-0.060112364590168) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.105405353009701,0.105127274990082,0.042602781206369,-0.141094490885735,0.048531886190176,-0.125109881162643,-0.321412324905396,-0.090004071593285,0.116951733827591,0.172378897666931,0.037289716303349,-0.029771573841572,-0.033031534403563,-0.052181739360094,0.003098814748228,0.017311152070761) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.259614706039429,-0.078099504113197,-0.022024022415280,-0.044046964496374,0.213490352034569,0.180596008896828,-0.359370142221451,-0.082565568387508,-0.192083299160004,-0.170029684901237,0.182130813598633,-0.083177343010902,-0.131808459758759,-0.035512734204531,0.005520901642740,0.172867462038994) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.157992005348206,0.102738574147224,0.014202637597919,-0.104115359485149,0.078926138579845,0.039471719413996,0.071750782430172,0.080187126994133,0.127979204058647,-0.069709651172161,0.098549582064152,-0.354678332805634,-0.138035997748375,-0.277545571327209,0.019348882138729,0.210225731134415) * MODEL5_texOff(vec2(0,1));
res += mat4(0.134471699595451,0.131948232650757,0.025348611176014,0.052521988749504,-0.178553372621536,-0.104754082858562,0.122714824974537,-0.202034130692482,0.200300186872482,0.002608516719192,-0.187727868556976,0.020300295203924,-0.142835244536400,-0.067972347140312,-0.170570969581604,-0.066983677446842) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.345735460519791,-0.118125274777412,0.131196826696396,0.310492664575577,-0.127249866724014,0.000678709766362,0.144671157002449,-0.096281833946705,-0.162689715623856,0.160355046391487,-0.075433917343616,0.161929473280907,-0.123787268996239,0.058559540659189,0.041435945779085,-0.027243161574006) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.279781520366669,-0.179635897278786,0.042634274810553,-0.118858724832535,0.134742721915245,0.066625773906708,0.065732859075069,0.080764755606651,0.123014979064465,-0.005171360448003,0.056417789310217,0.172761559486389,-0.110182099044323,0.029325991868973,0.031763110309839,0.068482920527458) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.174066320061684,-0.001634697429836,-0.140912309288979,-0.028253337368369,0.036589425057173,-0.017352003604174,0.005680684931576,0.115862861275673,-0.004743081517518,0.026376711204648,-0.024359473958611,0.013395208865404,-0.068877279758453,-0.012365993112326,0.103614151477814,-0.054548248648643) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.009317339397967,-0.010303571820259,-0.109246060252190,-0.203445985913277,0.046109605580568,-0.048271119594574,0.002959971781820,-0.108443483710289,0.143130734562874,0.091288506984711,-0.073459185659885,0.082162767648697,-0.212558209896088,-0.117142736911774,-0.034546304494143,0.037761516869068) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.010081629268825,-0.080287724733353,-0.032105408608913,-0.091588631272316,0.052187040448189,0.072682812809944,0.022187151014805,0.075275495648384,0.061245802789927,0.090435728430748,-0.030925352126360,0.091145455837250,-0.109105139970779,0.191066190600395,-0.070715017616749,-0.029721720144153) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.318803220987320,-0.048841822892427,-0.157789617776871,0.047245979309082,0.147113949060440,-0.027781222015619,0.062687002122402,-0.114782042801380,-0.025680107995868,-0.185268208384514,-0.057773504406214,0.115289255976677,-0.089273989200592,-0.008316409774125,-0.021964939311147,0.059363808482885) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.211411207914352,0.183718726038933,0.128045022487640,0.116409666836262,-0.495394766330719,-0.032685376703739,0.208684071898460,0.374072909355164,0.281884372234344,0.087024040520191,-0.216859191656113,0.097365520894527,0.110326543450356,-0.043804556131363,0.096116378903389,-0.015664780512452) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.140387877821922,0.012529391795397,-0.026669962331653,0.110925324261189,0.082917056977749,-0.023846242576838,0.027369827032089,0.118765354156494,-0.111255533993244,-0.021990377455950,-0.028814157471061,0.065637581050396,0.214685291051865,-0.390070080757141,0.024374436587095,0.107646696269512) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.197085335850716,0.012211069464684,0.001864713733084,0.026341512799263,0.008419563993812,0.001876574009657,-0.066419862210751,-0.032902397215366,-0.033148378133774,-0.080292828381062,0.018910963088274,0.053545005619526,-0.114696942269802,-0.053715009242296,-0.021821983158588,-0.108088865876198) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.096610195934772,0.125076517462730,-0.183649867773056,-0.050424464046955,-0.007987860590219,-0.071038857102394,0.117152832448483,0.051006168127060,0.274645924568176,0.246901988983154,-0.043190207332373,0.190572708845139,0.207773432135582,-0.018950860947371,0.038519017398357,-0.085104808211327) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.168826296925545,0.002242725342512,-0.038134615868330,-0.070603713393211,0.017403362318873,0.062105748802423,-0.078578248620033,-0.126795157790184,-0.012730518355966,0.016283880919218,0.007638114970177,0.092503108084202,0.077484562993050,-0.350558996200562,0.021530391648412,-0.050978925079107) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.088428080081940,-0.167345657944679,-0.065019398927689,0.030669094994664) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 6_6

vec4 hook()
{
vec4 res = vec4(-0.030369816347957,-0.397335410118103,0.081470265984535,0.022151323035359);
res += mat4(-0.136158883571625,-0.122607529163361,-0.139036610722542,0.015728197991848,0.206416964530945,0.004545813426375,-0.003988330252469,0.037283964455128,0.094352491199970,-0.066766098141670,0.003089501289651,-0.060650832951069,-0.082553602755070,-0.081130698323250,0.085141420364380,0.112810514867306) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.167827636003494,-0.064046442508698,-0.000776122964453,-0.098096229135990,0.354324102401733,0.008725424297154,-0.094789147377014,-0.006009445991367,-0.047496099025011,-0.096661008894444,0.047198794782162,0.139706641435623,-0.203709810972214,-0.133279010653496,0.054223455488682,0.310710519552231) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.037462424486876,0.122791133821011,-0.074119836091995,-0.078354388475418,0.093640558421612,-0.047888133674860,-0.130288481712341,-0.227205246686935,-0.041376125067472,0.021504731848836,0.061005391180515,-0.108480788767338,0.013870238326490,-0.111777134239674,-0.022654285654426,0.011144244112074) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.128206163644791,-0.088317595422268,0.153351262211800,0.060340508818626,0.308426737785339,0.141349166631699,0.001227621454746,0.076096013188362,-0.143301934003830,0.142141044139862,-0.294391065835953,0.161081671714783,-0.148018866777420,-0.223776653409004,-0.012298732064664,0.154971286654472) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.125373288989067,-0.256988137960434,0.048740547150373,-0.060437586158514,0.160244122147560,0.145244255661964,-0.170985266566277,0.098985932767391,-0.010716263204813,0.204971462488174,0.299400836229324,-0.209873199462891,0.026906006038189,-0.069513075053692,0.141029849648476,0.060590468347073) * MODEL1_texOff(vec2(0,0));
res += mat4(0.036649737507105,0.195874169468880,-0.238336667418480,0.026923654600978,0.007104883436114,0.066719561815262,-0.202384889125824,-0.239890247583389,0.038845844566822,0.052943237125874,0.061455309391022,-0.022517347708344,0.019226016476750,0.029163539409637,0.010672310367227,0.060765001922846) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.180713340640068,-0.056405436247587,-0.000117924762890,-0.043703883886337,0.041590698063374,0.022023882716894,-0.119655616581440,0.231616139411926,0.005920920986682,-0.152399033308029,-0.029531765729189,0.094906091690063,-0.000146739621414,-0.091657578945160,0.024091554805636,0.001415173290297) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.127537980675697,-0.033147919923067,-0.097083546221256,-0.127301201224327,-0.025590514764190,-0.049072843044996,-0.155062258243561,0.113106317818165,-0.245196476578712,-0.508989810943604,0.049253400415182,0.078946642577648,-0.159254223108292,-0.129534825682640,-0.078285641968250,-0.041178151965141) * MODEL1_texOff(vec2(1,0));
res += mat4(0.078274220228195,0.051827035844326,-0.091513067483902,0.100062273442745,-0.001119969412684,-0.099980562925339,-0.159065231680870,0.004764290526509,0.108473852276802,-0.136307001113892,-0.019188797101378,-0.085889637470245,0.123050279915333,-0.005926834885031,-0.003780894912779,0.086507417261600) * MODEL1_texOff(vec2(1,1));
res += mat4(0.073249645531178,-0.106102041900158,-0.106971040368080,-0.095616959035397,0.009775301441550,0.209148243069649,0.006745635066181,-0.020575819537044,-0.125467911362648,-0.012576852925122,0.034945562481880,0.006060117855668,-0.064320430159569,0.011640394106507,0.032960236072540,0.005683328490704) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.049735490232706,-0.205311432480812,0.245371431112289,-0.062466293573380,0.066838607192039,0.000722390657756,-0.114254288375378,-0.001337236841209,-0.332969725131989,0.050783339887857,0.108692944049835,0.272975593805313,-0.062688656151295,0.080314733088017,0.302755326032639,-0.279209613800049) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.066211730241776,-0.054187282919884,-0.058050394058228,-0.035556685179472,-0.032752953469753,0.094046734273434,0.053859326988459,-0.061253499239683,-0.258881688117981,0.039310336112976,0.215121403336525,0.255008518695831,0.058832857757807,0.050822135061026,-0.087126530706882,-0.027456907555461) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.123710051178932,-0.338157683610916,0.049184534698725,-0.033308167010546,0.200101301074028,0.261861950159073,-0.239602744579315,0.002867228351533,-0.102575317025185,0.011122709140182,0.025693729519844,-0.071645423769951,-0.118380397558212,0.079412959516048,0.013342580758035,-0.131074696779251) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.147214308381081,-0.249564230442047,-0.207914233207703,0.154862105846405,0.164756476879120,0.163517013192177,-0.175847724080086,-0.003943516407162,0.016503496095538,-0.038379270583391,0.326514452695847,0.040725644677877,-0.249382957816124,0.118586272001266,-0.024039844051003,-0.145652770996094) * MODEL2_texOff(vec2(0,0));
res += mat4(0.000856783939525,0.017564317211509,-0.105472587049007,-0.027310026809573,0.037309955805540,0.193926706910133,0.080355785787106,-0.142528474330902,-0.065562136471272,0.021695643663406,-0.050138503313065,0.100057490170002,0.056728661060333,0.092173531651497,0.030610514804721,-0.215562477707863) * MODEL2_texOff(vec2(0,1));
res += mat4(0.029130581766367,-0.122682474553585,0.052906673401594,-0.020919732749462,0.066611021757126,0.158437177538872,-0.049824286252260,0.216342270374298,0.001534546841867,0.017434533685446,0.129388913512230,0.000233185040997,0.156337976455688,-0.089400537312031,0.033359043300152,0.098126523196697) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.056219916790724,-0.160156205296516,-0.129673406481743,0.159516885876656,-0.055201444774866,0.065221622586250,0.016210351139307,0.287521302700043,0.235190406441689,-0.004154741298407,0.084197640419006,-0.030428450554609,0.128445684909821,-0.035431586205959,0.029132880270481,-0.161381542682648) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.004626862239093,-0.050177369266748,0.024836489930749,0.069076478481293,0.049207400530577,0.215875864028931,0.070584386587143,0.114757269620895,0.160078004002571,-0.055316757410765,-0.003908490762115,0.122990362346172,0.057426568120718,0.005686732940376,-0.020850451663136,-0.024002181366086) * MODEL2_texOff(vec2(1,1));
res += mat4(0.080265797674656,-0.123354889452457,0.021250937134027,0.084501214325428,0.013818905688822,0.048031959682703,-0.093563362956047,0.006135948468000,0.014662457630038,-0.181403905153275,-0.036799620836973,-0.148082941770554,0.069719672203064,-0.047970104962587,-0.037096384912729,-0.178555071353912) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.038300383836031,-0.088203042745590,-0.035858187824488,-0.067748732864857,-0.075449779629707,0.114387929439545,0.138662427663803,-0.129669249057770,0.401582598686218,0.179185032844543,-0.281598806381226,-0.006608995143324,-0.050561916083097,0.041682142764330,-0.054867647588253,-0.189006149768829) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.067267239093781,0.020564313977957,0.192544355988503,-0.057277034968138,-0.109075322747231,-0.052595481276512,-0.080237343907356,-0.034388184547424,0.070522874593735,0.039628200232983,0.033657331019640,-0.065318688750267,-0.037669595330954,-0.020303120836616,0.112604565918446,-0.132818445563316) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.069305852055550,-0.118878208100796,0.054750461131334,0.186959356069565,-0.168187007308006,-0.025344394147396,0.100593134760857,-0.014860550872982,-0.022092306986451,0.089840188622475,-0.048179626464844,-0.183918669819832,-0.169512391090393,0.029941951856017,-0.266484081745148,-0.028999574482441) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.166658267378807,-0.247774764895439,0.101981155574322,-0.000518112559803,-0.215999320149422,-0.325881004333496,0.070764787495136,0.097845792770386,-0.120787940919399,-0.089720122516155,0.331656336784363,0.153003439307213,-0.186004087328911,-0.067028351128101,0.274551987648010,-0.265527635812759) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.064564801752567,-0.148512884974480,-0.029156995937228,-0.024302842095494,0.008083378896117,0.259733498096466,-0.236021086573601,-0.250609695911407,0.040898822247982,-0.004317943938076,-0.122076228260994,-0.013116830028594,-0.142000988125801,-0.009347313083708,-0.170185983181000,-0.016246419399977) * MODEL3_texOff(vec2(0,1));
res += mat4(0.070705115795135,-0.065060436725616,0.120490111410618,-0.012883786112070,0.003186269197613,-0.066906526684761,0.054838608950377,-0.094791240990162,0.137293472886086,0.052836813032627,-0.037706937640905,-0.022704711183906,0.101679161190987,-0.111062057316303,-0.070167906582355,-0.056751236319542) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.086004048585892,-0.042687565088272,-0.054682139307261,-0.089740678668022,0.083335578441620,-0.295400738716125,-0.034166958183050,0.209865748882294,0.191001087427139,0.190756112337112,-0.099761284887791,-0.004203458316624,-0.130906939506531,-0.035732410848141,0.114205159246922,-0.065946154296398) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.123713083565235,0.006306537892669,-0.189795002341270,-0.031935501843691,-0.006121131591499,-0.101982682943344,0.010812616907060,0.073823831975460,-0.019832205027342,0.070439167320728,-0.014485312625766,0.100362449884415,0.093555249273777,0.012187589891255,-0.128883406519890,-0.046847816556692) * MODEL3_texOff(vec2(1,1));
res += mat4(0.104823619127274,-0.028650859370828,0.010049553588033,0.025285398587584,0.126423358917236,0.064987078309059,0.127679765224457,0.021610748022795,-0.082175619900227,-0.008133569732308,0.258754491806030,0.105064690113068,0.008047770708799,0.061481021344662,-0.009438856504858,0.131813153624535) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.010526938363910,0.077882803976536,0.168107077479362,-0.022709628567100,0.123953327536583,-0.100235693156719,-0.031505931168795,0.081622689962387,-0.042000252753496,-0.108119197189808,0.369290888309479,0.001843607169576,-0.091337986290455,0.067004792392254,-0.108143717050552,-0.046383608132601) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.019894499331713,0.060242176055908,-0.108168579638004,-0.011460406705737,-0.069187663495541,-0.009497782215476,-0.120642036199570,0.083986751735210,-0.179999500513077,0.114899143576622,0.074300266802311,-0.136460036039352,-0.078835107386112,0.131914749741554,0.104710750281811,-0.174348980188370) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.179699182510376,-0.495639175176620,-0.170301556587219,0.085861586034298,-0.026546919718385,0.051533248275518,-0.204240247607231,0.073454618453979,-0.048465494066477,0.018854465335608,-0.058913152664900,0.186286985874176,0.008509369567037,0.121138818562031,-0.102463044226170,0.199460774660110) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.132760196924210,-0.052410583943129,-0.044632185250521,0.029397303238511,0.070429086685181,0.079142272472382,-0.322445660829544,-0.103117898106575,0.073633767664433,0.021954113617539,-0.025584274902940,0.042509462684393,-0.047017406672239,-0.010419541038573,0.267682552337646,-0.092417731881142) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.084250852465630,0.093422837555408,0.030521797016263,-0.077953711152077,-0.139008253812790,-0.015963703393936,0.279846251010895,-0.049865175038576,0.028636611998081,0.186821237206459,-0.042356777936220,-0.200731441378593,-0.011217928491533,0.212510928511620,0.117435105144978,0.046269442886114) * MODEL4_texOff(vec2(0,1));
res += mat4(0.089563272893429,-0.074686095118523,-0.130550608038902,0.061379477381706,0.096116706728935,0.077853254973888,0.048404823988676,0.163910299539566,-0.079657651484013,0.052182484418154,-0.159729972481728,0.095325112342834,0.025218343362212,0.042667225003242,0.110190711915493,0.040604438632727) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.111425854265690,0.152732029557228,0.090393066406250,-0.041401319205761,-0.216447874903679,0.079489186406136,0.115229792892933,0.161622777581215,-0.226023703813553,-0.013684445060790,-0.306495547294617,0.047035109251738,-0.085225388407707,0.194378182291985,-0.019691227003932,0.234433144330978) * MODEL4_texOff(vec2(1,0));
res += mat4(0.071419842541218,-0.034957148134708,0.031750038266182,-0.060303661972284,0.080490089952946,0.042231168597937,-0.114979133009911,-0.092084497213364,0.061653606593609,0.074673891067505,0.048600502312183,0.098526805639267,0.202650934457779,0.044671639800072,-0.040390603244305,0.155472442507744) * MODEL4_texOff(vec2(1,1));
res += mat4(0.006581142079085,-0.174014270305634,-0.022738605737686,-0.028854977339506,0.114416591823101,0.130773171782494,-0.444920718669891,0.050067294389009,0.171967238187790,-0.001652299892157,0.171536773443222,0.079763285815716,-0.144785240292549,-0.113970756530762,-0.089150711894035,0.238544896245003) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.248141527175903,-0.313325524330139,0.031046712771058,-0.009572603739798,0.432279944419861,0.007783444598317,0.407982975244522,0.097582824528217,0.132279351353645,0.049288578331470,0.078364878892899,-0.200079113245010,0.129597529768944,0.112672217190266,-0.118127532303333,-0.048072535544634) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.081035397946835,-0.130396038293839,-0.034820340573788,-0.090327605605125,0.106367327272892,-0.078413195908070,0.022129623219371,-0.037849061191082,0.194173589348793,0.023808965459466,0.060736376792192,0.208678692579269,0.182704672217369,0.067686215043068,-0.018858660012484,0.026552131399512) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.242770150303841,0.088369853794575,-0.242479547858238,0.175001472234726,0.066224902868271,-0.047578465193510,0.161112859845161,-0.281078308820724,-0.062614485621452,0.078164666891098,-0.236220791935921,0.182776704430580,-0.081372722983360,-0.095131389796734,-0.125095561146736,0.005335667636245) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.162927612662315,0.348266839981079,-0.116046331822872,-0.056874111294746,-0.213942468166351,-0.092253170907497,0.097824446856976,0.119396358728409,-0.108998611569405,-0.072701275348663,0.200524151325226,-0.033286042511463,0.045215364545584,0.115348607301712,0.052304051816463,0.195445343852043) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.037625990808010,-0.056560426950455,0.122486129403114,-0.047677293419838,-0.161489903926849,-0.159323588013649,-0.244131967425346,-0.105897456407547,0.050420854240656,0.067123420536518,-0.172537535429001,-0.091003477573395,0.197444498538971,-0.105502657592297,0.054263975471258,0.136880636215210) * MODEL5_texOff(vec2(0,1));
res += mat4(0.065026864409447,0.038011264055967,0.036523140966892,0.111923553049564,-0.139931082725525,-0.038451902568340,0.005057787522674,-0.144464284181595,0.168867915868759,-0.023342605680227,0.081704147160053,0.207289338111877,0.059684868901968,-0.027510756626725,0.125959888100624,-0.102198056876659) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.228052139282227,0.031443443149328,-0.000523799157236,0.169559538364410,-0.073965072631836,0.012839706614614,0.027977775782347,-0.026199562475085,-0.156795144081116,-0.166458129882813,0.209968358278275,0.100298143923283,-0.068311035633087,0.018698330968618,-0.052425842732191,-0.041557487100363) * MODEL5_texOff(vec2(1,0));
res += mat4(0.069804243743420,-0.120026178658009,0.009259372018278,0.037264607846737,-0.306138277053833,-0.013866702094674,-0.060177538543940,-0.009939563460648,-0.019177751615644,-0.059622734785080,0.164366766810417,0.258019387722015,-0.209603816270828,0.037512242794037,-0.017035257071257,0.060410078614950) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.167324185371399,-0.049876317381859,-0.055490180850029,-0.115945190191269,0.046459943056107,0.001093657454476,0.035907495766878,0.065024442970753,-0.110839925706387,0.121122866868973,-0.289915621280670,0.140823662281036,0.120903067290783,0.005415871739388,0.071782164275646,0.042889907956123) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.305933237075806,0.081483788788319,-0.196757525205612,0.039162747561932,0.085032440721989,0.072516240179539,-0.073278523981571,-0.050627749413252,-0.368492513895035,0.097280584275723,0.130687892436981,-0.031761769205332,0.128996297717094,-0.035065032541752,0.313334971666336,-0.062586970627308) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.039044961333275,-0.019827913492918,0.047021698206663,-0.183612182736397,0.011452564969659,0.026259150356054,0.012523373588920,-0.014754481613636,-0.051742903888226,0.083358861505985,0.098356403410435,0.018938338384032,-0.187169626355171,0.016443910077214,-0.113710656762123,0.141998708248138) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.020183846354485,-0.101922601461411,0.089192487299442,-0.382801324129105,-0.014105712063611,-0.078162454068661,0.065558344125748,-0.033034082502127,0.202843934297562,0.026935663074255,-0.144984647631645,-0.154983758926392,0.008084055036306,-0.013926708139479,0.258417963981628,0.068223834037781) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.021721908822656,-0.013909900560975,-0.118481747806072,-0.107796579599380,0.067376986145973,0.098359599709511,-0.228747010231018,-0.011503444053233,0.093874506652355,0.221814289689064,-0.295305758714676,-0.113415032625198,-0.174853175878525,-0.007822002284229,0.002033580094576,0.084968313574791) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.118862174451351,-0.053822267800570,0.102465517818928,-0.117907375097275,-0.139530539512634,-0.033290185034275,0.102699957787991,0.076623573899269,0.038374014198780,0.086934387683868,-0.022357182577252,-0.024110427126288,0.145599678158760,0.073050193488598,-0.383005708456039,-0.006525237578899) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.087537147104740,0.012708677910268,0.042145114392042,-0.336112320423126,-0.106584139168262,0.057028759270906,-0.008979887701571,0.039668630808592,0.116108961403370,0.241913050413132,-0.002273877849802,-0.049309346824884,0.146725565195084,0.018856430426240,0.039065424352884,0.053293623030186) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.223939895629883,-0.030464475974441,-0.198227658867836,-0.503243148326874,-0.346117794513702,0.041712667793036,0.109134972095490,0.107699930667877,0.093199953436852,0.266641050577164,-0.007778353523463,-0.053739741444588,0.193142473697662,0.043435737490654,-0.254947572946548,0.071912296116352) * MODEL6_texOff(vec2(1,0));
res += mat4(0.028021585196257,0.040900677442551,-0.023607157170773,-0.244245320558548,0.006765116006136,0.012062477879226,-0.144645661115646,-0.082835532724857,-0.029977945610881,0.221054226160049,-0.059339225292206,0.049161601811647,-0.070580504834652,0.022322220727801,-0.055737607181072,0.093342311680317) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.240115866065025,-0.087237723171711,-0.101754128932953,0.123216465115547) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 7_1

vec4 hook()
{
vec4 res = vec4(-0.142135515809059,-0.048198636621237,-0.068466030061245,-0.251235246658325);
res += mat4(-0.002635301556438,0.115802682936192,-0.019471673294902,0.061710834503174,-0.100290253758430,-0.146609231829643,-0.142871990799904,0.266513198614120,-0.030227651819587,-0.066630013287067,-0.076269395649433,0.054164562374353,0.040717184543610,-0.028454452753067,-0.120820887386799,-0.030719377100468) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.121508039534092,-0.180651202797890,0.118748381733894,0.089110642671585,-0.078622318804264,-0.101654417812824,-0.139464005827904,0.168256223201752,-0.134039983153343,0.036816179752350,-0.051044337451458,0.024005843326449,0.059015821665525,-0.080184943974018,0.048656933009624,0.001220775768161) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.033765710890293,0.095895357429981,-0.202663615345955,-0.028969464823604,-0.040858525782824,-0.075112029910088,0.119637764990330,-0.082294419407845,0.109176605939865,0.029870308935642,-0.051115181297064,-0.219526708126068,0.088184110820293,0.013477399013937,-0.016489103436470,0.001823252532631) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.012263251468539,0.020322499796748,0.020950272679329,0.040201794356108,0.009396214969456,0.047478105872869,0.052420675754547,0.067942783236504,0.043710902333260,-0.043929968029261,-0.216655135154724,-0.040689785033464,0.032103065401316,-0.134512752294540,-0.249319657683372,0.068557202816010) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.121611282229424,0.031898450106382,-0.247615858912468,-0.021382827311754,-0.037903591990471,0.078983716666698,0.024933472275734,-0.037822697311640,0.380177646875381,-0.078364856541157,0.116830058395863,0.077207215130329,-0.012402243912220,0.001221316982992,-0.055715478956699,-0.306979149580002) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.003498116042465,0.017931029200554,0.161279544234276,-0.129008829593658,0.121630825102329,-0.006777612026781,0.081254720687866,-0.036773961037397,0.017155922949314,0.082608319818974,0.011633678339422,-0.214503943920135,0.317237943410873,0.066078811883926,0.026000712066889,-0.098906353116035) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.060254011303186,-0.004688700661063,-0.125563949346542,-0.017190499231219,0.076560236513615,-0.131802231073380,-0.074314050376415,0.179597437381744,0.001676323008724,0.097289673984051,-0.043672733008862,0.077336028218269,0.058030497282743,-0.053111694753170,-0.047310117632151,-0.058496322482824) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.021336272358894,-0.187186405062675,-0.087657175958157,-0.276027441024780,0.063104800879955,0.030696377158165,-0.039714321494102,0.040767092257738,-0.087230488657951,0.135512724518776,0.066327072679996,-0.087150931358337,0.028958098962903,0.230288431048393,-0.022290769964457,0.227029666304588) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.001220100559294,-0.019482756033540,0.099613845348358,-0.310081988573074,0.121843181550503,-0.217025697231293,0.069935634732246,0.113931335508823,0.067362405359745,0.022757215425372,-0.179431542754173,0.217546775937080,0.116704337298870,0.053703948855400,0.123221747577190,0.002565012080595) * MODEL7_texOff(vec2(1,1));
res += mat4(0.013574288226664,-0.106610156595707,0.007652503438294,0.018408602103591,-0.008269506506622,-0.022497514262795,0.000680505356286,0.068550266325474,-0.014764504507184,0.054570432752371,-0.147875174880028,-0.001553653157316,0.037893872708082,-0.048376843333244,-0.026435075327754,0.094487629830837) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.151712387800217,-0.178062990307808,-0.062472429126501,-0.009797488339245,-0.085028536617756,-0.066229470074177,0.042775720357895,0.237670764327049,-0.032999660819769,0.060787517577410,-0.160963118076324,0.083017468452454,0.061463650316000,-0.211129397153854,0.013739784248173,0.123238712549210) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.187856256961823,-0.000913139199838,0.018120545893908,0.003050891216844,0.055196769535542,-0.070402279496193,-0.057379949837923,0.201555505394936,0.083383865654469,0.007902801968157,0.064364530146122,-0.122572317719460,-0.241851165890694,-0.027241816744208,0.233855947852135,0.182809367775917) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.052459914237261,-0.214916884899139,0.124079510569572,-0.138170942664146,0.015139834024012,0.073500208556652,0.065420307219028,0.045163683593273,0.021411707624793,0.023045465350151,-0.185417234897614,0.064893051981926,-0.015021696686745,-0.004684315528721,0.066736392676830,-0.105692319571972) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.243216529488564,0.334449559450150,-0.139371156692505,-0.365488946437836,-0.072575725615025,0.106619350612164,0.072681628167629,0.101429179310799,-0.189852222800255,0.116928152740002,-0.204484716057777,0.162236422300339,-0.044488843530416,-0.129361331462860,0.270684003829956,-0.268200457096100) * MODEL8_texOff(vec2(0,0));
res += mat4(0.175296902656555,0.012071706354618,-0.011281862854958,0.036627184599638,0.133620157837868,0.142980024218559,-0.035346478223801,0.118151709437370,-0.190019667148590,0.006969920825213,-0.060180857777596,0.069328837096691,0.102288641035557,0.176340192556381,-0.217878744006157,0.005688455421478) * MODEL8_texOff(vec2(0,1));
res += mat4(0.004165580030531,-0.005647393874824,0.028250999748707,0.134026005864143,0.040926069021225,-0.069990999996662,0.117175780236721,0.181730076670647,-0.027003286406398,0.053653646260500,-0.055667690932751,0.001674049184658,-0.059456061571836,0.027432581409812,0.036148641258478,-0.152794837951660) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.125533089041710,-0.101715385913849,-0.067073948681355,0.199706047773361,0.079113252460957,-0.063921734690666,0.129961356520653,-0.003469099989161,-0.144997462630272,-0.076768428087234,-0.096973434090614,0.075901150703430,-0.000635432545096,0.018100250512362,-0.020111180841923,-0.115434944629669) * MODEL8_texOff(vec2(1,0));
res += mat4(0.082792982459068,-0.072258621454239,-0.073762439191341,0.030312661081553,0.154715210199356,0.100173793733120,-0.050279613584280,0.011264578439295,0.098670363426208,0.064298674464226,-0.111664667725563,0.004479454830289,-0.031056981533766,-0.065246395766735,0.026854986324906,-0.040158431977034) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.006996834184974,0.002083936706185,0.128855198621750,-0.036423802375793,-0.079870410263538,0.047115631401539,0.142363309860229,0.027236260473728,0.096273794770241,0.127410128712654,0.010746843181551,-0.077262751758099,-0.045972555875778,0.140542283654213,-0.032805941998959,-0.010988140478730) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.047707699239254,-0.053576219826937,0.099472835659981,0.003223546547815,-0.085361815989017,0.032956939190626,-0.145804509520531,-0.085278697311878,-0.029378538951278,0.041726373136044,-0.160307496786118,0.185245767235756,-0.043699573725462,0.067728631198406,0.174613654613495,0.113121569156647) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.114744164049625,0.000611918512732,-0.100237540900707,0.032793115824461,-0.000081672085798,-0.031253885477781,-0.213621675968170,0.000441223266535,-0.028266413137317,-0.088727876543999,0.138099625706673,-0.017676960676908,0.059020869433880,0.016785178333521,-0.041641708463430,0.108679436147213) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.088072806596756,-0.051788821816444,0.073375329375267,0.022659748792648,0.013200421817601,-0.037678916007280,0.253406047821045,0.043440584093332,0.008300936780870,0.062732331454754,0.091442465782166,0.149787798523903,0.050382468849421,0.193301349878311,-0.040836349129677,0.123742163181305) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.084353528916836,-0.045586556196213,0.214939370751381,0.109294988214970,-0.024339223280549,-0.018907424062490,-0.245060801506042,-0.112124890089035,-0.234898328781128,0.183221220970154,-0.393543899059296,-0.259050488471985,0.074690870940685,0.167778164148331,0.058559175580740,0.234109714627266) * MODEL9_texOff(vec2(0,0));
res += mat4(0.115479722619057,0.107973180711269,-0.120857372879982,-0.077035635709763,0.015525758266449,-0.043209198862314,0.145101591944695,-0.077760957181454,0.004697060212493,-0.055481459945440,0.335434675216675,-0.113392613828182,0.008389458060265,-0.032069377601147,0.141772210597992,0.230824589729309) * MODEL9_texOff(vec2(0,1));
res += mat4(0.073275610804558,0.118963457643986,-0.067082479596138,0.034199725836515,0.051701828837395,0.197304859757423,0.123450726270676,0.029593959450722,0.015865299850702,0.051601778715849,-0.090444058179855,-0.144030749797821,-0.006182610988617,-0.110061764717102,0.115252099931240,-0.033074162900448) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.078854285180569,-0.129440188407898,-0.051039747893810,0.015664419159293,0.008451743982732,0.077771320939064,-0.025296866893768,0.130431637167931,0.075572222471237,-0.116646334528923,-0.008108810521662,0.148728892207146,-0.014792695641518,-0.161732807755470,0.037308622151613,-0.194707885384560) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.162174284458160,-0.092060446739197,0.123412445187569,-0.017988912761211,0.285538285970688,0.066568382084370,-0.069790072739124,-0.028901424258947,-0.027722427621484,-0.043607316911221,0.072963193058968,0.012944354675710,0.101882882416248,0.015056354925036,-0.008091503754258,0.061992458999157) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.073443308472633,-0.083383485674858,-0.074602261185646,0.045889835804701,0.131585314869881,-0.044207282364368,0.074154250323772,-0.087201356887817,-0.097342737019062,0.012633853591979,-0.151924043893814,0.044661123305559,0.036678940057755,-0.105264723300934,-0.051572144031525,-0.003281395416707) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.005396448075771,-0.020861659198999,-0.024777902290225,-0.047974705696106,-0.019689705222845,-0.123097449541092,0.059083692729473,0.002968509215862,-0.100755050778389,0.254535108804703,-0.100835397839546,-0.213830843567848,0.112274318933487,-0.099413052201271,0.041891712695360,0.180055245757103) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.149160534143448,-0.061606045812368,0.157701388001442,-0.182210296392441,0.123851247131824,-0.082278996706009,-0.144411608576775,0.132509991526604,-0.046136196702719,0.029251165688038,-0.092987768352032,-0.053354352712631,0.069807127118111,-0.072081916034222,0.075743637979031,-0.017327124252915) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.024242412298918,0.091186024248600,0.168102592229843,-0.154994517564774,-0.047301843762398,-0.042960725724697,0.153785049915314,0.071150466799736,0.120780959725380,0.213511005043983,-0.128034949302673,0.101819276809692,-0.094273343682289,-0.008921569213271,0.014478512108326,0.003519889432937) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.179365456104279,-0.213995948433876,0.164688616991043,0.065972164273262,0.017396766692400,0.030730811879039,0.026387784630060,0.210705593228340,-0.317362934350967,-0.380258560180664,-0.352210998535156,0.472662806510925,-0.099534139037132,0.145505651831627,-0.135362029075623,-0.086092002689838) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.204553276300430,-0.037165936082602,-0.037470266222954,0.068521149456501,-0.188529565930367,-0.049263030290604,-0.153592988848686,-0.023006282746792,-0.286765456199646,-0.239809960126877,0.151070266962051,0.018790313974023,0.042326349765062,-0.096601970493793,-0.011111987754703,0.035348314791918) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.073909729719162,0.022986546158791,0.074101932346821,-0.040926024317741,-0.015488278120756,-0.034352272748947,-0.004432265181094,-0.027415029704571,0.008434718474746,-0.085415728390217,-0.077173314988613,0.004973418544978,0.049343887716532,-0.030616465955973,-0.176260188221931,-0.049658287316561) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.017993219196796,-0.090771220624447,-0.076812811195850,-0.087852314114571,-0.042682237923145,0.086040496826172,-0.108162105083466,0.101243421435356,0.149824932217598,-0.140676170587540,-0.028759250417352,-0.244956791400909,-0.013732474297285,-0.169404000043869,-0.220014244318008,-0.127321854233742) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.018145838752389,0.020449215546250,-0.152493402361870,-0.056176874786615,-0.201915174722672,-0.037001863121986,0.042998109012842,-0.229078724980354,-0.015853350982070,-0.041168037801981,0.118314199149609,-0.120401449501514,-0.010138004086912,-0.110733516514301,0.080517463386059,-0.002955593401566) * MODEL10_texOff(vec2(1,1));
res += mat4(0.053679246455431,0.018555851653218,0.127144426107407,-0.002892632037401,-0.124200172722340,-0.062756791710854,0.011045255698264,0.015765678137541,0.022640546783805,-0.004112089518458,-0.129055693745613,-0.093829885125160,-0.009150709025562,0.026330791413784,0.079170033335686,0.115079395473003) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.160183176398277,0.079286642372608,0.173084393143654,-0.074083484709263,-0.361924439668655,0.025616204366088,0.021875496953726,-0.096209451556206,-0.153479412198067,-0.137655302882195,0.040188748389482,-0.005621710792184,-0.020669875666499,0.074934981763363,0.010859172791243,-0.010002623312175) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.140912607312202,0.071793183684349,-0.189260989427567,0.014496186748147,0.146792382001877,0.065298400819302,-0.259588658809662,0.017902405932546,-0.073900572955608,0.069099344313145,-0.134743452072144,-0.015406598336995,0.157075107097626,-0.019766578450799,-0.024949552491307,-0.057776622474194) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.065904662013054,0.052275769412518,0.118391305208206,-0.117371074855328,-0.018119947984815,0.161830678582191,0.039432950317860,-0.323635548353195,0.000740111805499,-0.033406957983971,-0.008759989403188,-0.037723295390606,-0.058431021869183,0.005530531052500,-0.089740365743637,0.068162098526955) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.307825803756714,0.164137512445450,0.115991324186325,0.042939569801092,-0.256973177194595,-0.116516880691051,0.240073263645172,0.066213458776474,0.049443960189819,0.004640377126634,0.017847141250968,-0.178347289562225,0.384649813175201,-0.054752591997385,0.218771308660507,-0.193550467491150) * MODEL11_texOff(vec2(0,0));
res += mat4(0.166603356599808,0.027903465554118,-0.137546196579933,-0.210974246263504,0.169851109385490,0.035558823496103,-0.317251145839691,0.022371208295226,0.007941938005388,0.002072128932923,-0.129916310310364,-0.119421958923340,-0.052936054766178,0.060845371335745,-0.044091027230024,0.095945209264755) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.025137593969703,0.119945012032986,-0.002746630692855,0.054632451385260,-0.017083292827010,0.037632767111063,-0.064811542630196,0.113038636744022,0.011718271300197,0.024897433817387,0.021372031420469,0.124906279146671,0.032477777451277,-0.008050957694650,0.032499339431524,0.134153619408607) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.027623482048512,-0.001675597624853,0.025855213403702,-0.022952379658818,0.019295616075397,0.107951022684574,-0.097666300833225,-0.070855081081390,-0.066371329128742,0.196528136730194,-0.015433550812304,0.168828129768372,-0.001428226823919,-0.066579222679138,-0.060063797980547,0.298817366361618) * MODEL11_texOff(vec2(1,0));
res += mat4(0.003017811337486,-0.024662587791681,-0.052415195852518,0.119111269712448,0.032995734363794,-0.006807375699282,-0.074125774204731,0.079192101955414,-0.035963106900454,0.041775483638048,0.011437454260886,0.075991824269295,0.043118540197611,-0.157915011048317,0.033647019416094,0.193681582808495) * MODEL11_texOff(vec2(1,1));
res += mat4(0.027656387537718,0.041808113455772,-0.116497047245502,0.034883484244347,-0.032501745969057,-0.032588820904493,-0.033415038138628,-0.059996694326401,0.004750346764922,0.085115373134613,0.025266403332353,-0.049955032765865,0.015049339272082,-0.038942046463490,0.028651345521212,0.051143698394299) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.025486616417766,-0.206865087151527,0.036107402294874,0.227143794298172,-0.032611481845379,-0.052368104457855,-0.041579511016607,0.058230727910995,-0.062604725360870,0.022538339719176,0.024301545694470,0.136134818196297,0.077724859118462,0.046301882714033,-0.182942628860474,-0.019958550110459) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.019244328141212,-0.006261048838496,0.110622085630894,0.145689100027084,-0.038069065660238,0.016176169738173,-0.025441497564316,0.045319724828005,-0.190339222550392,-0.022050866857171,0.102536723017693,-0.018088033422828,-0.117738492786884,-0.000415935617639,0.116067908704281,-0.065941222012043) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.067683421075344,-0.195032075047493,-0.179255574941635,0.022018766030669,0.001959709217772,-0.120730698108673,-0.198157623410225,0.038699854165316,-0.043497379869223,-0.049123197793961,0.012841287069023,-0.017326366156340,0.014887349680066,0.010625941678882,0.118390142917633,-0.126190915703773) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.106115289032459,-0.019966712221503,-0.032907847315073,-0.393227458000183,0.106036402285099,-0.586667597293854,0.196699619293213,-0.310706555843353,-0.093587815761566,0.267851501703262,0.003792070783675,-0.268171995878220,0.099586471915245,-0.012094254605472,-0.352886825799942,0.015329838730395) * MODEL12_texOff(vec2(0,0));
res += mat4(0.019212737679482,-0.019928507506847,-0.030622284859419,-0.104877568781376,0.266243547201157,0.098310150206089,-0.118342861533165,-0.025557663291693,-0.250059425830841,0.040834870189428,0.251029580831528,0.013703178614378,-0.053121753036976,0.001077492022887,0.025240095332265,0.132197096943855) * MODEL12_texOff(vec2(0,1));
res += mat4(0.033735502511263,-0.045980010181665,0.027614407241344,0.064185917377472,0.005820052232593,-0.039809253066778,-0.096709974110126,0.041515607386827,-0.001567234634422,0.034704048186541,-0.019212089478970,0.065949775278568,0.025539441034198,-0.085550881922245,-0.077522605657578,0.176110953092575) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.003749573370442,-0.059543747454882,-0.007300835102797,0.066556498408318,0.048214893788099,0.016746040433645,0.015448589809239,-0.279004186391830,0.015993876382709,0.046102248132229,0.058426965028048,0.038104776293039,0.016491191461682,-0.095807909965515,0.019330542534590,0.002950492547825) * MODEL12_texOff(vec2(1,0));
res += mat4(0.092992417514324,-0.012952287681401,-0.107018433511257,-0.012485426850617,0.053958240896463,0.055421724915504,0.042156092822552,-0.077152974903584,-0.022320508956909,0.105642288923264,-0.053249433636665,0.036293182522058,0.075319923460484,0.104238294064999,0.030806031078100,-0.110543236136436) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.093937329947948,-0.024956053122878,0.088310979306698,0.003107697935775) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 7_2

vec4 hook()
{
vec4 res = vec4(-0.210297137498856,-0.239274382591248,-0.229847952723503,0.073577411472797);
res += mat4(-0.069939948618412,0.018948027864099,-0.118943840265274,0.019286958500743,-0.028789630159736,-0.049222789704800,0.217584639787674,-0.051579371094704,-0.063045218586922,-0.053613498806953,0.058342605829239,0.026235219091177,-0.017762629315257,-0.013028499670327,0.006407496053725,-0.070691958069801) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.044634141027927,-0.057381931692362,-0.005433952901512,0.000552571495064,0.099438458681107,-0.157318845391273,0.172111332416534,-0.040567401796579,-0.022502513602376,-0.164303421974182,0.134886950254440,0.066710814833641,-0.094063095748425,0.082803793251514,0.036522183567286,0.163008898496628) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.106427781283855,0.100586734712124,-0.052862055599689,0.039479378610849,0.020663410425186,-0.035223584622145,0.087012343108654,0.034819848835468,0.053676839917898,0.054463937878609,0.206017196178436,-0.017409563064575,0.005303922109306,-0.082101218402386,-0.039181958884001,-0.003538080025464) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.202269479632378,-0.005428573582321,0.002374379197136,-0.085438594222069,-0.000077291406342,0.153298139572144,0.180194169282913,-0.076001457870007,0.136079460382462,-0.004902348853648,0.129125133156776,0.004186084028333,0.115756474435329,-0.061098728328943,-0.051163155585527,0.038682457059622) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.131563097238541,-0.001097491709515,-0.304730504751205,0.028333917260170,0.032050430774689,0.082027025520802,0.197060734033585,0.093195870518684,-0.333628147840500,0.234254375100136,-0.376723289489746,-0.246235311031342,-0.239274725317955,0.204679563641548,-0.274421811103821,-0.266807824373245) * MODEL7_texOff(vec2(0,0));
res += mat4(0.085082642734051,0.035458285361528,-0.277475416660309,-0.013275948353112,-0.149972483515739,0.026950035244226,0.169040814042091,0.023356312885880,0.125136390328407,-0.007966190576553,-0.183067083358765,0.027993194758892,-0.182288691401482,-0.056954093277454,-0.027458306401968,-0.201102495193481) * MODEL7_texOff(vec2(0,1));
res += mat4(0.042976330965757,-0.201244086027145,0.156009539961815,-0.142652824521065,0.003864936064929,0.172935813665390,-0.094032339751720,0.000181943643838,-0.010953663848341,-0.048557102680206,-0.068367592990398,-0.058108080178499,-0.075964592397213,-0.113367818295956,0.020399359986186,-0.032389540225267) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.017543029040098,0.331581681966782,0.272161185741425,-0.043368708342314,-0.214670568704605,0.072017148137093,-0.142562493681908,0.072569176554680,-0.142397001385689,-0.417665719985962,0.118439555168152,0.042810328304768,0.356917858123779,-0.129418283700943,0.001055367290974,-0.118198096752167) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.124803870916367,-0.251826167106628,0.294078469276428,-0.129350125789642,0.065633930265903,0.005252431612462,-0.030839519575238,0.135863497853279,-0.107571840286255,0.006039797328413,-0.115589000284672,-0.000174616929144,0.106556497514248,0.115077450871468,0.073589429259300,-0.074427671730518) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.018456259742379,0.174634531140327,-0.139820218086243,0.013405445963144,-0.073248632252216,-0.038837704807520,0.148795485496521,0.051183134317398,0.051760233938694,-0.003414338221774,-0.028623536229134,0.029294474050403,-0.041462671011686,-0.220617666840553,0.133762121200562,0.023386700078845) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.153008252382278,-0.243933558464050,0.044162616133690,-0.046979542821646,0.042602017521858,-0.008501343429089,0.176109656691551,0.088357739150524,-0.092577397823334,-0.010029786266387,-0.173210576176643,0.031088698655367,-0.377534806728363,0.231375768780708,-0.069044709205627,-0.027766723185778) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.029378542676568,0.072032459080219,0.013601008802652,0.040307398885489,-0.015104934573174,-0.021707754582167,0.178249150514603,0.084970526397228,0.059174772351980,0.073583379387856,-0.122386500239372,-0.017581963911653,0.218627408146858,-0.098556585609913,0.095857970416546,0.085242688655853) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.061045143753290,-0.158364072442055,0.177039369940758,-0.022238835692406,-0.046016599982977,0.104464523494244,0.192699074745178,0.016961267217994,0.083915732800961,-0.090553976595402,0.191731557250023,0.019907573238015,-0.085084713995457,-0.098883576691151,-0.104918852448463,-0.055430211126804) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.088106587529182,-0.314262986183167,-0.169180735945702,0.153398334980011,0.041397478431463,0.064828760921955,0.099594883620739,0.009383343160152,0.094773881137371,-0.128867492079735,0.196471720933914,-0.158807262778282,0.011776188388467,0.149982392787933,0.068797849118710,-0.035158924758434) * MODEL8_texOff(vec2(0,0));
res += mat4(0.003098344663158,-0.064185813069344,-0.000357479933882,0.065290354192257,-0.039972964674234,0.025673966854811,0.077371545135975,-0.022150056436658,-0.102875076234341,-0.024863637983799,0.005210920702666,0.050843734294176,-0.032642509788275,-0.351802796125412,-0.031130945309997,0.049858871847391) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.195763379335403,-0.113801293075085,0.029737124219537,-0.078974477946758,-0.038312390446663,0.117305479943752,-0.123985163867474,-0.007196513470262,-0.157419562339783,-0.033991441130638,0.019817885011435,-0.043586906045675,0.075989395380020,-0.166201755404472,-0.004573479760438,0.009461515583098) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.072014972567558,0.143130049109459,0.127034902572632,-0.124010831117630,-0.048569321632385,0.008969521149993,-0.029279612004757,-0.032606516033411,-0.056786805391312,-0.136482968926430,-0.066352039575577,0.081507101655006,-0.058178897947073,0.121726885437965,-0.058814212679863,-0.086064487695694) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.008274513296783,0.060267187654972,-0.031135739758611,0.043773535639048,-0.048886429518461,0.130242466926575,-0.048673793673515,0.028632525354624,-0.029514092952013,-0.092224277555943,0.095957860350609,0.094655022025108,-0.076469741761684,0.167553216218948,-0.019138500094414,0.020789586007595) * MODEL8_texOff(vec2(1,1));
res += mat4(0.080761708319187,0.082627080380917,0.187576666474342,0.019229978322983,0.142515197396278,0.080627344548702,0.040233686566353,0.077689059078693,0.077854447066784,-0.025268856436014,0.165850892663002,0.064369276165962,-0.140381336212158,-0.067085444927216,0.169754996895790,-0.002984579186887) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.019179500639439,0.115778505802155,-0.043721530586481,-0.008226178586483,0.168103396892548,0.194607883691788,-0.134224593639374,-0.048105649650097,-0.002954101422802,-0.068959392607212,-0.084112167358398,-0.021428536623716,0.222255468368530,-0.092102847993374,0.191194862127304,0.234878212213516) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.023078758269548,0.030652295798063,0.013195674866438,0.011795132420957,-0.081246867775917,0.033453933894634,0.015281044878066,-0.074634768068790,0.001144819660112,0.030126923695207,-0.054308805614710,-0.021375399082899,-0.027707502245903,0.037787061184645,0.029773183166981,0.082656674087048) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.092426411807537,0.147487431764603,-0.118257209658623,-0.105598285794258,0.054721761494875,0.163856372237206,0.196441918611526,0.004103020764887,-0.134918168187141,0.192810103297234,-0.164494082331657,-0.139785200357437,0.118193678557873,0.006051646545529,0.031119866296649,0.064679622650146) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.153693512082100,-0.221055135130882,-0.521069645881653,0.011119499802589,-0.146656915545464,-0.023356596007943,0.233310848474503,-0.086690291762352,-0.018413873389363,0.135971367359161,0.042122621089220,-0.080476537346840,0.269843250513077,0.074801549315453,0.402220249176025,-0.038342721760273) * MODEL9_texOff(vec2(0,0));
res += mat4(0.007215589750558,0.130642458796501,-0.186519816517830,-0.078336030244827,0.018157133832574,0.084655351936817,-0.095994956791401,-0.117738120257854,0.069863386452198,-0.099393174052238,0.081695362925529,-0.093079954385757,-0.042363442480564,0.040693100541830,0.125000685453415,0.016209401190281) * MODEL9_texOff(vec2(0,1));
res += mat4(0.034621648490429,-0.073222115635872,0.104623027145863,-0.063328392803669,-0.069152958691120,0.015266014263034,-0.103701829910278,-0.003418325912207,-0.065312542021275,0.201515614986420,0.161739528179169,0.020977847278118,-0.096258915960789,0.043598394840956,-0.053551666438580,0.005550976376981) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.108006060123444,-0.580816566944122,0.276906311511993,-0.007703171111643,0.212920397520065,0.284628838300705,-0.037562184035778,0.137215167284012,-0.113963358104229,-0.044043615460396,-0.078582219779491,-0.010828785598278,-0.166262939572334,0.059249047189951,-0.170043647289276,-0.028620440512896) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.016533760353923,0.153209820389748,0.121762558817863,-0.124600797891617,-0.027702063322067,-0.260534882545471,0.069802135229111,-0.092293798923492,0.012811368331313,-0.274391800165176,-0.089824952185154,-0.004883974324912,-0.111667580902576,-0.098368667066097,-0.017582697793841,0.085167579352856) * MODEL9_texOff(vec2(1,1));
res += mat4(0.020445363596082,-0.004491322208196,-0.019159981980920,0.056350771337748,0.192841723561287,0.101402580738068,-0.072248995304108,-0.123798772692680,0.052638977766037,-0.124062195420265,0.009367763064802,-0.054923132061958,0.057855691760778,-0.004129466135055,0.011846413835883,-0.082381404936314) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.007345989812165,0.045599728822708,-0.048347938805819,0.006650676485151,0.018120834603906,-0.029756151139736,-0.046566281467676,0.074589766561985,0.100270465016365,0.103264823555946,-0.399740934371948,-0.135618731379509,-0.090650565922260,-0.045885194092989,0.011591827496886,0.115851961076260) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.008866214193404,0.199955224990845,-0.093164637684822,-0.004736475646496,0.205204471945763,-0.169193074107170,0.109247326850891,0.107797592878342,-0.052697900682688,-0.011041345074773,-0.188158094882965,0.011635643430054,-0.035657420754433,0.044585511088371,0.174571529030800,0.029480351135135) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.088894657790661,0.142835915088654,-0.129267394542694,0.009797070175409,0.128938332200050,-0.024860072880983,-0.117368824779987,-0.041729580610991,-0.096059314906597,0.203259170055389,-0.048098076134920,-0.026679329574108,-0.115286253392696,-0.031565535813570,-0.012175814248621,-0.089582569897175) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.276857852935791,0.133559674024582,0.358988225460052,0.103222660720348,0.276886165142059,0.150138184428215,-0.091670222580433,-0.009933630935848,-0.040695466101170,-0.281091332435608,0.256567299365997,-0.079041756689548,0.295617014169693,0.161816075444221,-0.024132486432791,0.007893035188317) * MODEL10_texOff(vec2(0,0));
res += mat4(0.272258073091507,0.065636105835438,-0.224955454468727,0.056518301367760,0.020906427875161,0.083974033594131,-0.054806265980005,-0.018549021333456,0.010956907644868,0.025290211662650,0.131178826093674,0.078674763441086,0.055364027619362,0.044017959386110,-0.022403780370951,-0.182605803012848) * MODEL10_texOff(vec2(0,1));
res += mat4(0.037927348166704,0.022378772497177,0.025961874052882,0.039839949458838,-0.012790959328413,-0.065673023462296,-0.032004453241825,-0.073089435696602,0.095945827662945,0.127215951681137,0.099848613142967,0.008016686886549,0.054999299347401,0.024756835773587,-0.034345354884863,-0.089770108461380) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.179526135325432,0.015399754978716,-0.155920282006264,0.082425601780415,0.211682453751564,0.032953038811684,0.163592725992203,-0.071738399565220,-0.151965349912643,0.107857845723629,-0.085304483771324,-0.065400704741478,-0.171978831291199,-0.034249506890774,-0.141479820013046,0.096827208995819) * MODEL10_texOff(vec2(1,0));
res += mat4(0.047964010387659,0.024309359490871,0.006469179876149,-0.005174126476049,0.086919680237770,0.041553519666195,-0.031597778201103,0.027774589136243,-0.022155752405524,0.033553402870893,-0.026911841705441,0.046516373753548,0.019273536279798,-0.241089433431625,-0.075765348970890,0.059559896588326) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.069122262299061,0.136947974562645,-0.009550795890391,0.004565135575831,-0.038423933088779,0.061451651155949,-0.197223290801048,-0.100092574954033,-0.042432453483343,0.039569642394781,0.109319008886814,-0.035488598048687,0.011027044616640,-0.005106122232974,0.047586001455784,-0.081981398165226) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.015423078089952,0.112807512283325,-0.037198856472969,0.172994211316109,0.072443380951881,-0.015408535487950,0.143896326422691,0.042350750416517,-0.048579808324575,-0.076024211943150,0.104052551090717,0.043643865734339,-0.042064655572176,0.023270657286048,-0.237210184335709,-0.124539360404015) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.032593023031950,-0.073084615170956,-0.100559249520302,-0.016292683780193,0.002804041141644,0.003954106941819,0.021622663363814,0.012490567751229,-0.024413162842393,-0.030399629846215,0.122850999236107,0.084479592740536,-0.089398972690105,-0.042624726891518,0.096218109130859,0.002311790129170) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.136331513524055,0.241272971034050,-0.133988991379738,0.002619409933686,0.157997474074364,-0.012609662488103,0.055413413792849,0.010909374803305,0.028896858915687,-0.058537580072880,-0.148513227701187,0.011413174681365,0.064167134463787,0.122473359107971,-0.026661466807127,-0.056043963879347) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.070599995553493,0.025383055210114,0.007244382984936,0.001391648780555,-0.017452718690038,-0.010204938240349,-0.059774897992611,0.091767080128193,-0.226230010390282,0.147571399807930,-0.344396561384201,0.204801887273788,-0.219591468572617,-0.079735033214092,-0.136374652385712,0.422768026590347) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.098055906593800,0.093979388475418,-0.015359935350716,0.007470169570297,-0.106146089732647,0.095036342740059,-0.053154919296503,-0.015909273177385,0.050895567983389,0.002704762620851,-0.257005095481873,0.057393491268158,-0.040019243955612,0.002264920156449,0.077987954020500,0.029901327565312) * MODEL11_texOff(vec2(0,1));
res += mat4(0.065858468413353,-0.118008077144623,0.027611229568720,0.048769745975733,-0.002277836669236,-0.289091587066650,-0.186471447348595,-0.091824062168598,0.018938386812806,-0.183481678366661,0.039319172501564,-0.018711591139436,0.012347145006061,-0.035813137888908,-0.013477248139679,-0.061888962984085) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.061403430998325,-0.158098042011261,0.072669565677643,0.066170766949654,0.073103412985802,0.064485840499401,0.041534483432770,-0.000586648762692,0.308336645364761,-0.001547096180730,0.120590403676033,0.061852183192968,-0.074380010366440,-0.047517228871584,-0.052445568144321,0.084168054163456) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.074268400669098,0.038403082638979,-0.001392234815285,-0.046632248908281,-0.065607249736786,0.201183095574379,0.037663545459509,0.003554813563824,0.083554863929749,0.068404510617256,0.210324898362160,-0.073943704366684,0.005704812239856,0.024355338886380,-0.007506865542382,0.034592024981976) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.100653387606144,0.060213364660740,0.076371192932129,-0.041809372603893,0.009151815436780,-0.042931154370308,-0.041822597384453,0.046022497117519,-0.068848475813866,-0.034168623387814,-0.132961332798004,-0.009855441749096,-0.012834275141358,-0.119352765381336,-0.074502803385258,-0.033429041504860) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.021892905235291,0.082108698785305,-0.315898478031158,-0.128235816955566,0.037371058017015,-0.118497468531132,-0.116586148738861,0.084664158523083,0.000285546528175,0.050271056592464,0.060225307941437,0.073342144489288,-0.084187343716621,-0.159285739064217,-0.208601504564285,-0.083110868930817) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.182029724121094,-0.057644315063953,-0.209417179226875,-0.094152651727200,-0.045351568609476,-0.031899463385344,-0.090235359966755,0.040207024663687,-0.081558138132095,-0.093191377818584,-0.202980667352676,-0.075495921075344,-0.100244760513306,0.118627615272999,-0.016252314671874,0.060972504317760) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.136748611927032,-0.091008931398392,0.076137095689774,-0.078100815415382,0.086957566440105,-0.093061871826649,0.148857116699219,0.139211311936378,0.100065454840660,-0.247804760932922,0.147015064954758,0.089608252048492,0.010172612965107,0.074981071054935,0.131718397140503,-0.034047119319439) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.168563172221184,-0.120757944881916,-0.223352685570717,0.139010518789291,-0.414339929819107,0.103149242699146,-0.220968604087830,-0.508797585964203,-0.099022589623928,0.149924263358116,0.103362433612347,-0.094425074756145,0.004514995962381,-0.262540251016617,0.172186478972435,-0.046986058354378) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.078723117709160,0.049061313271523,-0.080065585672855,-0.060933437198400,0.026221130043268,0.097580358386040,-0.053913041949272,0.108657829463482,0.043860003352165,-0.187953993678093,-0.098687693476677,-0.005282773170620,0.062551923096180,-0.277042835950851,-0.045714944601059,0.028920810669661) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.031711794435978,-0.030668186023831,0.031002247706056,-0.021376328542829,0.012465113773942,-0.064687445759773,0.013858774676919,-0.005842851009220,-0.153053447604179,-0.146407961845398,-0.051493085920811,-0.002376446034759,0.034848708659410,0.317640513181686,0.062728010118008,-0.060790598392487) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.015064729377627,0.073777712881565,0.066473960876465,-0.040086537599564,0.201785147190094,-0.309069812297821,0.118167594075203,-0.130728289484978,-0.187641665339470,0.080136016011238,-0.157885655760765,0.017800157889724,-0.273003667593002,0.180314227938652,-0.193265467882156,-0.147701025009155) * MODEL12_texOff(vec2(1,0));
res += mat4(0.056888863444328,0.123201847076416,0.065162748098373,-0.011106857098639,0.066392354667187,0.184116318821907,0.071036532521248,-0.084247544407845,0.015826720744371,-0.343763411045074,0.030784405767918,0.041022416204214,-0.043795760720968,-0.190244406461716,0.028046432882547,0.049998417496681) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.061375316232443,0.039923351258039,-0.004526173230261,0.491863936185837) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 7_3

vec4 hook()
{
vec4 res = vec4(-0.295047193765640,0.196477085351944,-0.440160632133484,0.019266555085778);
res += mat4(0.046369656920433,-0.035238098353148,0.015970364212990,-0.105754174292088,0.061276040971279,0.105157598853111,0.007844189181924,-0.044413331896067,0.103004403412342,-0.055591747164726,-0.036280021071434,0.125700935721397,-0.079708904027939,0.129067018628120,-0.022926207631826,-0.125967964529991) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.222561642527580,-0.010112133808434,-0.032932113856077,0.105628527700901,0.092060312628746,0.228377401828766,0.241907253861427,0.030902151018381,-0.059297680854797,-0.123674415051937,0.081006169319153,0.085319511592388,0.007067200262100,-0.046966824680567,0.011899724602699,-0.046302922070026) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.182608336210251,0.087631776928902,0.082233525812626,-0.254123836755753,-0.175394669175148,0.119144953787327,-0.077751584351063,-0.022734154015779,-0.114662326872349,0.001357321394607,-0.041683115065098,0.053838167339563,0.051797118037939,-0.005765364039689,0.081072300672531,0.126707479357719) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.063143141567707,-0.104298852384090,-0.035919811576605,0.105791464447975,-0.013096179813147,0.113152571022511,0.052850715816021,-0.055290065705776,-0.052010331302881,-0.171603009104729,-0.001163067878224,0.263711184263229,-0.099247500300407,0.071719177067280,-0.121862977743149,0.035381250083447) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.048203133046627,-0.061879202723503,-0.011570351198316,-0.081352986395359,0.214898720383644,-0.123453304171562,0.223591253161430,0.013076254166663,0.196834266185760,0.049427878111601,0.019766366109252,-0.185502603650093,-0.009566754102707,-0.047360491007566,-0.110585600137711,-0.093813419342041) * MODEL7_texOff(vec2(0,0));
res += mat4(0.048448465764523,0.027489090338349,-0.093924336135387,0.061538748443127,-0.212396115064621,0.056297544389963,0.048252202570438,-0.017706835642457,-0.097355104982853,-0.002520201494917,-0.031626887619495,0.065198622643948,0.120023071765900,0.087755158543587,0.095128737390041,0.036964889615774) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.100652791559696,-0.019739344716072,0.046681493520737,0.114609763026237,-0.048472225666046,0.121964156627655,0.017215298488736,0.014862354844809,0.044443171471357,-0.081649161875248,-0.052083127200603,0.085775099694729,-0.063259005546570,0.093639977276325,-0.070372037589550,-0.050756763666868) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.327304959297180,0.090880893170834,0.261965960264206,0.048215467482805,0.138808131217957,0.164861679077148,0.148643761873245,0.037998411804438,0.058996461331844,-0.041740559041500,0.233680263161659,0.172469317913055,0.039569105952978,-0.240145087242126,-0.057898659259081,0.030869819223881) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.240874275565147,0.034018866717815,-0.142193421721458,0.058130253106356,-0.072405762970448,0.118264459073544,0.017647845670581,-0.026985136792064,0.040274478495121,0.082830525934696,0.006242997944355,-0.020877173170447,0.055445514619350,0.029228033497930,0.100261457264423,0.029425788670778) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.018744766712189,-0.058747183531523,-0.089126095175743,-0.017177736386657,0.129639074206352,-0.228189632296562,0.056303042918444,0.056745648384094,0.024844370782375,-0.070477172732353,0.009449430741370,0.006204462144524,0.045771174132824,0.080392189323902,-0.000084406696260,0.195643246173859) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.269835621118546,0.222383335232735,0.084585182368755,0.045210473239422,0.029889581725001,0.119866691529751,-0.060249727219343,-0.033195048570633,-0.207988485693932,0.168537139892578,0.034379635006189,0.227817043662071,0.024624228477478,0.077884577214718,-0.026638137176633,-0.180560380220413) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.091154016554356,-0.058947287499905,-0.082099862396717,-0.201517075300217,0.126633495092392,0.121074594557285,0.289947479963303,0.029613941907883,-0.169022381305695,-0.115209951996803,-0.064211845397949,0.093154557049274,-0.120203912258148,-0.102932952344418,0.147626444697380,0.126517578959465) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.096510641276836,0.168432071805000,-0.121670536696911,0.163666233420372,0.004740562289953,-0.135039761662483,0.047225683927536,-0.010141510516405,-0.000011253898265,0.082943618297577,-0.009738695807755,0.055758744478226,0.086352564394474,-0.065767712891102,-0.062933631241322,-0.087847493588924) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.137286633253098,0.026198092848063,0.272022545337677,-0.081105731427670,-0.046762503683567,-0.105893947184086,-0.006933636497706,0.027005624026060,-0.211195945739746,-0.193754225969315,0.066101044416428,0.083207495510578,-0.050015408545732,-0.020162153989077,0.080358952283859,0.264157593250275) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.028224065899849,0.020286737009883,-0.095970742404461,0.152643606066704,0.144603431224823,0.150976523756981,0.102736316621304,0.009016761556268,-0.116283886134624,0.010566225275397,-0.207143560051918,0.128791958093643,0.116484418511391,0.000907540030312,0.018339127302170,-0.057932909578085) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.002877696882933,0.221600174903870,-0.055354230105877,-0.015296457335353,0.066164366900921,-0.112907372415066,0.143764764070511,0.126197531819344,0.035831719636917,0.020549729466438,0.047306258231401,-0.127083048224449,0.239169895648956,-0.089860655367374,0.055572435259819,-0.025153851136565) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.168690130114555,0.158560395240784,-0.001999552128837,0.150101572275162,-0.205980539321899,-0.030279871076345,-0.061531227082014,-0.013272108510137,0.148009553551674,-0.049325492233038,0.146784365177155,0.060042850673199,-0.082693696022034,-0.016873953863978,0.094476923346519,0.020344574004412) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.020220164209604,0.038783658295870,-0.067745842039585,0.091428831219673,0.246387004852295,0.012469384819269,0.128824830055237,0.020761199295521,-0.109443932771683,-0.131514266133308,-0.141459673643112,0.175397813320160,0.174854278564453,0.053857352584600,0.066001027822495,0.123614482581615) * MODEL8_texOff(vec2(1,1));
res += mat4(0.053809639066458,0.037984710186720,0.015230447985232,-0.065132461488247,0.111949346959591,0.045559503138065,-0.036871802061796,0.027209920808673,0.003856238676235,-0.015259278006852,0.169423818588257,-0.330716073513031,0.030162112787366,-0.210052028298378,0.039452750235796,-0.008710613474250) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.089544929563999,-0.048370040953159,-0.071208685636520,0.024754449725151,0.048896249383688,-0.252074718475342,0.076780088245869,0.189294621348381,0.010084730572999,0.155726030468941,-0.024006569758058,0.045423064380884,-0.188216075301170,0.168923094868660,0.041413158178329,0.043570075184107) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.082884989678860,0.031074211001396,0.026510292664170,0.035426232963800,-0.060202967375517,0.047946769744158,0.046912170946598,0.101549461483955,-0.189052313566208,-0.049362488090992,-0.142446562647820,-0.123399347066879,0.049731757491827,0.103524461388588,-0.106587082147598,-0.112385235726833) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.001608644146472,-0.078424900770187,-0.081215776503086,-0.115247309207916,0.141130194067955,-0.032295539975166,-0.000168576108990,-0.174139708280563,0.227537408471107,0.106702581048012,0.147896781563759,-0.982006430625916,-0.020463006570935,0.057150408625603,0.048792004585266,0.057863995432854) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.152763649821281,0.174761041998863,-0.154266566038132,0.048277817666531,0.009269327856600,0.172309488058090,-0.022878244519234,0.014095346443355,0.182812169194221,-0.114733375608921,0.022085446864367,0.155310869216919,0.089436799287796,-0.291110068559647,-0.034473184496164,-0.069343671202660) * MODEL9_texOff(vec2(0,0));
res += mat4(0.165036290884018,-0.003506929613650,0.018556252121925,-0.199154376983643,-0.096222981810570,-0.119677938520908,-0.217708364129066,0.172468096017838,-0.446111798286438,-0.038071837276220,-0.226672962307930,-0.036295618861914,0.029065884649754,0.055942170321941,0.137655556201935,0.054062724113464) * MODEL9_texOff(vec2(0,1));
res += mat4(0.001528405933641,0.039748843759298,-0.029462082311511,-0.071770749986172,-0.057765502482653,0.092693522572517,-0.039375543594360,-0.281840384006500,0.121914215385914,0.029471198096871,0.208024024963379,-0.018705850467086,-0.117603473365307,0.030692687258124,-0.069307707250118,0.094580210745335) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.351380288600922,0.113224975764751,-0.118441380560398,-0.012039053253829,0.109671846032143,-0.016449596732855,-0.119958251714706,0.042990900576115,0.030395681038499,0.115658305585384,0.024094089865685,0.030939009040594,0.081397965550423,0.056460313498974,0.020775422453880,-0.014423590153456) * MODEL9_texOff(vec2(1,0));
res += mat4(0.136947676539421,0.008779590949416,0.020359124988317,-0.078641340136528,-0.012406627647579,0.040703147649765,-0.017126416787505,0.120049037039280,-0.281143188476563,-0.055087439715862,-0.089353352785110,-0.111938931047916,-0.020033048465848,0.051208943128586,0.094122223556042,-0.053873907774687) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.127390041947365,0.015454225242138,-0.106929682195187,-0.038854271173477,-0.053272183984518,-0.062437552958727,-0.080315634608269,-0.144437745213509,-0.013805040158331,0.044717181473970,-0.052480567246675,-0.103375621140003,0.013849775306880,0.015605401247740,0.070046432316303,0.044655147939920) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.115600198507309,-0.027033235877752,-0.317415922880173,-0.025300800800323,-0.125111341476440,-0.092387229204178,0.048656966537237,0.091585651040077,-0.058925561606884,-0.236460998654366,0.117493078112602,0.057976052165031,0.148290723562241,-0.008646415546536,0.096109353005886,0.228487595915794) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.124141857028008,-0.167754516005516,-0.094907693564892,-0.177058443427086,0.026169508695602,0.161801397800446,0.082306616008282,0.019784418866038,0.060127332806587,-0.010648247785866,0.063833363354206,0.112529858946800,-0.192833736538887,-0.051403198391199,0.036311928182840,0.081959605216980) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.122424066066742,-0.110322378575802,-0.170268654823303,-0.162493392825127,-0.046085715293884,-0.001498620258644,0.006452526431531,0.079328566789627,-0.050501957535744,-0.312434881925583,-0.130355387926102,-0.069907613098621,-0.058548457920551,0.058579098433256,0.132827445864677,0.145502313971519) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.288393586874008,-0.065330862998962,-0.147555604577065,0.007131066173315,0.102254629135132,-0.083699353039265,0.240763559937477,-0.040696799755096,0.230946227908134,0.195511683821678,0.402040570974350,0.353698045015335,0.248850092291832,-0.432802975177765,0.032794296741486,0.137511581182480) * MODEL10_texOff(vec2(0,0));
res += mat4(0.023924484848976,-0.110859461128712,-0.045530017465353,-0.066498473286629,0.195332765579224,0.109672725200653,-0.020218349993229,-0.002350059105083,-0.208964288234711,-0.020945323631167,-0.163045912981033,-0.050712056457996,-0.205205112695694,0.019161356613040,-0.048748876899481,-0.000720342795830) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.008333480916917,-0.093116961419582,-0.029803533107042,-0.130454048514366,-0.102662630379200,0.082706235349178,-0.043842181563377,0.099248103797436,-0.005316209513694,0.019953884184361,-0.070886887609959,-0.003083504736423,0.160516589879990,-0.043924022465944,0.012295378372073,0.030105700716376) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.111259832978249,0.175157472491264,-0.095950454473495,-0.175499767065048,0.005740845110267,-0.023541104048491,-0.025810522958636,-0.042812291532755,-0.102593794465065,-0.019904654473066,0.050340749323368,0.133290052413940,-0.191732034087181,0.101572059094906,0.055968526750803,0.161918058991432) * MODEL10_texOff(vec2(1,0));
res += mat4(0.071858525276184,-0.144913867115974,-0.094121791422367,-0.146365046501160,-0.167750582098961,0.053693104535341,-0.189640432596207,0.016519814729691,-0.052640095353127,0.005854628980160,-0.018255643546581,-0.036335695534945,-0.355334132909775,0.034493982791901,-0.100103840231895,0.001680282643065) * MODEL10_texOff(vec2(1,1));
res += mat4(0.013057188130915,0.011727580800653,-0.109909683465958,-0.254203379154205,0.166606083512306,-0.140685498714447,-0.179119259119034,-0.056177552789450,0.116621434688568,0.081582672894001,0.073033668100834,0.030691213905811,0.069037705659866,-0.060841441154480,0.040370639413595,0.032473497092724) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.013598877005279,-0.099652364850044,0.058875635266304,-0.009965206496418,0.010120386257768,-0.339786946773529,0.097746692597866,0.032134722918272,-0.294622153043747,-0.009830865077674,-0.040745921432972,0.156329140067101,-0.115388125181198,0.076978690922260,0.043204478919506,-0.001711908495054) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.144109949469566,-0.096595741808414,0.056559693068266,0.154314994812012,0.147050201892853,0.012677363120019,0.280146479606628,0.169230893254280,0.045268841087818,0.055056307464838,-0.081024810671806,-0.162586852908134,0.104573220014572,0.000276233186014,0.061661977320910,0.014753824099898) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.011916577816010,-0.171382412314415,-0.234008848667145,-0.466118305921555,0.161648631095886,-0.248461797833443,-0.383900433778763,0.108533538877964,0.069128379225731,-0.012688261456788,0.061427310109138,0.050687562674284,0.111560463905334,-0.129497557878494,-0.078789331018925,0.005802293308079) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.013792421668768,-0.322113245725632,0.224700957536697,0.381841063499451,0.130563959479332,-0.180283084511757,0.301420748233795,0.118918694555759,-0.163298666477203,0.122806608676910,-0.102339148521423,-0.153614908456802,-0.407959342002869,-0.028755631297827,-0.219982683658600,-0.041468858718872) * MODEL11_texOff(vec2(0,0));
res += mat4(0.076311916112900,-0.145348757505417,0.126949489116669,0.248651668429375,0.498768717050552,0.113767638802528,0.211168020963669,0.189061477780342,-0.030122851952910,-0.051326323300600,-0.017210867255926,-0.001525374245830,0.122681818902493,-0.160752803087234,0.205430507659912,-0.176185667514801) * MODEL11_texOff(vec2(0,1));
res += mat4(0.088181279599667,-0.076830811798573,-0.077525839209557,-0.142379432916641,0.105811081826687,0.005915555171669,-0.084648102521896,-0.005422784481198,0.001455363817513,0.023610061034560,-0.058729261159897,-0.100422576069832,0.043684881180525,0.068840153515339,-0.099253408610821,-0.088525012135506) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.048012118786573,-0.060564566403627,-0.056776784360409,-0.049766730517149,0.021001735702157,-0.199390009045601,0.022964244708419,0.028212044388056,-0.084722056984901,-0.181507855653763,0.023279780521989,0.028028361499310,0.012373703531921,0.104817487299442,-0.201778262853622,0.059201560914516) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.004742719698697,0.000810739991721,-0.010101989842951,0.026873543858528,0.072381429374218,0.036519590765238,0.102874904870987,0.143994286656380,-0.003070105798542,-0.102074608206749,-0.024137806147337,-0.027121948078275,-0.150440961122513,0.019170176237822,0.048494756221771,-0.009543284773827) * MODEL11_texOff(vec2(1,1));
res += mat4(0.018051730468869,-0.142369508743286,0.013471381738782,0.034932326525450,-0.038012802600861,0.015788324177265,-0.023420484736562,-0.079974330961704,-0.072287827730179,-0.062090266495943,-0.015285941772163,-0.131520837545395,-0.058432042598724,0.024566536769271,-0.026852805167437,0.160712733864784) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.028315279632807,0.179890751838684,-0.071460492908955,-0.021904420107603,0.026153352111578,0.060971114784479,0.078793264925480,-0.017022052779794,0.050864804536104,-0.046926256269217,-0.014935807324946,-0.178919345140457,0.092740893363953,0.007922002114356,0.005142817739397,-0.122060425579548) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.096365079283714,0.036837484687567,-0.001570979948156,-0.121004402637482,-0.049951162189245,-0.084468141198158,-0.050865415483713,-0.001788647845387,-0.015461766161025,0.004638922400773,-0.022981770336628,-0.062263846397400,-0.114093922078609,-0.027159769088030,-0.238006666302681,-0.101210407912731) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.035888954997063,0.036010764539242,0.212369769811630,0.218715086579323,-0.018083661794662,0.002216145163402,-0.027122117578983,-0.077084727585316,-0.096040122210979,0.144642561674118,-0.132049962878227,-0.002946197986603,-0.071949906647205,-0.078373394906521,0.046153306961060,0.137583270668983) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.233982235193253,0.152362152934074,-0.170497268438339,-0.221802607178688,-0.380726099014282,0.242677003145218,-0.064633756875992,-0.025419043377042,0.220930635929108,-0.273330450057983,-0.005526483524591,-0.403883039951324,0.054602656513453,0.032158680260181,-0.017040353268385,0.009243153966963) * MODEL12_texOff(vec2(0,0));
res += mat4(0.003501530969515,-0.049087002873421,0.027686677873135,0.057563498616219,0.063403151929379,-0.145636469125748,-0.265104621648788,-0.124979041516781,-0.193306893110275,-0.008988081477582,-0.184074983000755,0.099370256066322,-0.163894847035408,0.066169127821922,0.030409853905439,-0.243888318538666) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.032379906624556,0.027563905343413,0.030510174110532,-0.018946520984173,0.072546645998955,-0.048274315893650,0.177101314067841,0.020159298554063,-0.258868247270584,0.049906142055988,-0.111018694937229,-0.015134776942432,0.040498070418835,-0.084166742861271,0.110436290502548,0.067220106720924) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.029092581942677,0.055720321834087,-0.122262530028820,0.014837481081486,-0.237587556242943,-0.067058093845844,0.124242097139359,0.021476304158568,0.184519544243813,0.000723649456631,0.137094259262085,-0.198925584554672,-0.046183463186026,0.107317201793194,-0.089619942009449,0.051694486290216) * MODEL12_texOff(vec2(1,0));
res += mat4(0.068538337945938,-0.018679548054934,0.088940091431141,-0.010296959429979,0.108200438320637,-0.046724095940590,-0.088285230100155,0.050075594335794,-0.019116954877973,-0.129129856824875,-0.129015520215034,-0.041208375245333,0.006841840688139,0.065702311694622,0.055048272013664,-0.096524856984615) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.002764771925285,0.288062244653702,0.169630676507950,0.105580858886242) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 7_4

vec4 hook()
{
vec4 res = vec4(-0.180257543921471,0.097251035273075,-0.198097184300423,0.039660342037678);
res += mat4(-0.132308200001717,0.007223810534924,-0.096935436129570,0.020742217078805,-0.113257132470608,-0.103271961212158,-0.077589832246304,-0.097379401326180,-0.037481110543013,0.056370094418526,-0.045287791639566,0.022380692884326,-0.104089476168156,-0.056654561311007,-0.052923958748579,-0.100864902138710) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.091710217297077,-0.029034528881311,-0.203427657485008,-0.067466065287590,0.040463332086802,0.102803468704224,0.165341600775719,0.020375600084662,-0.090407863259315,0.142836064100266,0.007835119031370,0.100491054356098,0.210105776786804,-0.041506487876177,-0.024630347266793,0.134328648447990) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.061295166611671,-0.024779571220279,0.034780938178301,0.007584268692881,-0.050252821296453,0.135406076908112,0.021351117640734,-0.033444918692112,-0.165740042924881,0.068869940936565,0.081938587129116,-0.039687588810921,0.070228159427643,-0.037182796746492,-0.077906697988510,0.120352290570736) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.175597831606865,0.085777334868908,-0.065593525767326,-0.007815877906978,-0.077925689518452,0.074163876473904,-0.006354578770697,-0.116592288017273,0.226515024900436,0.078353546559811,-0.029557272791862,-0.112243324518204,0.247812673449516,-0.148724719882011,0.376759290695190,-0.312683492898941) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.078305631875992,-0.081123113632202,0.044489298015833,0.077028334140778,-0.064220488071442,0.030785089358687,-0.152292028069496,-0.212985873222351,-0.112624347209930,0.145241975784302,-0.147625327110291,-0.041516955941916,-0.188437893986702,0.138082757592201,-0.561933457851410,-0.231863260269165) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.049310419708490,0.041459057480097,-0.134895771741867,0.047569368034601,0.014378632418811,0.134113967418671,-0.061758823692799,-0.021121839061379,0.117364443838596,0.100436113774776,-0.028964692726731,-0.004790977574885,-0.128722205758095,-0.111546441912651,-0.125003829598427,0.028412908315659) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.079080112278461,-0.148253098130226,0.147831097245216,0.011640867218375,0.048625811934471,0.136603429913521,-0.105424918234348,-0.073442071676254,-0.055044420063496,0.054968096315861,0.105024836957455,0.083739921450615,-0.072225086390972,-0.018019605427980,0.080701626837254,-0.021464306861162) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.170549288392067,-0.067161932587624,-0.164048194885254,-0.032031483948231,0.022175030782819,0.239033654332161,0.032130237668753,-0.110222309827805,-0.195053383708000,-0.088325552642345,-0.084293290972710,0.088002763688564,-0.207447677850723,0.075004070997238,0.154037162661552,0.166329517960548) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.168920025229454,-0.094667270779610,0.135011717677116,-0.038722191005945,-0.014084346592426,0.188436418771744,0.098003372550011,-0.018452271819115,0.113145381212234,0.062240041792393,-0.096402980387211,-0.005038483068347,-0.005626801401377,-0.073771558701992,-0.031192118301988,0.073183067142963) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.131314620375633,0.002894058125094,0.019415799528360,0.022190924733877,-0.068342231214046,0.099324725568295,-0.028725089505315,0.078651659190655,-0.135644927620888,-0.054482355713844,0.060472238808870,0.023392694070935,-0.066458582878113,0.013104061596096,-0.051148343831301,-0.068311527371407) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.135828360915184,-0.015553939156234,-0.056899517774582,-0.082850128412247,0.007394339423627,-0.050850056111813,0.021394025534391,-0.039465378969908,0.137958437204361,0.013180231675506,-0.184150859713554,-0.021061958745122,-0.060028895735741,0.035069573670626,-0.011963847093284,-0.025596849620342) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.035011153668165,0.010469251312315,0.049579404294491,0.041039317846298,-0.048707667738199,0.001445486210287,0.068773254752159,-0.007893848232925,0.019354430958629,0.024102047085762,-0.033174697309732,0.039101295173168,0.125637575984001,-0.068883277475834,0.031190661713481,0.084599383175373) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.002927240682766,-0.028198175132275,0.281422674655914,-0.110514715313911,0.012344843707979,0.142456725239754,-0.167629763484001,-0.000334151438437,0.292934119701385,-0.056109618395567,0.044118415564299,-0.000678454292938,-0.056898888200521,0.137309297919273,-0.143633097410202,0.070681855082512) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.100965730845928,-0.200832307338715,-0.247242614626884,0.081855133175850,-0.046170078217983,0.015471485443413,0.056494474411011,-0.086075209081173,-0.084015332162380,0.045060865581036,-0.036058571189642,-0.009365861304104,-0.029887715354562,-0.024906625971198,0.043208356946707,-0.167245313525200) * MODEL8_texOff(vec2(0,0));
res += mat4(0.113507442176342,0.059343297034502,0.011812182143331,-0.041243765503168,-0.012200555764139,0.000458686350612,-0.055875591933727,0.004671460483223,0.010443140752614,0.011815714649856,0.012121561914682,0.019816186279058,-0.207400888204575,-0.052144885063171,0.167784541845322,0.029547655954957) * MODEL8_texOff(vec2(0,1));
res += mat4(0.083253040909767,0.067646168172359,-0.043872334063053,-0.033944264054298,-0.116585887968540,0.024057345464826,-0.157780036330223,0.074880540370941,-0.006191638298333,-0.141453906893730,-0.054244078695774,0.080171242356300,0.145647421479225,0.039759419858456,-0.002826893702149,-0.025221325457096) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.172507360577583,0.022591941058636,0.067008301615715,0.041975233703852,0.029365181922913,-0.031511772423983,0.029837641865015,0.012387448921800,0.141975030303001,0.147417038679123,-0.021329194307327,0.038921825587749,0.025590227916837,0.100301682949066,0.045926824212074,0.032709162682295) * MODEL8_texOff(vec2(1,0));
res += mat4(0.058589160442352,0.104391910135746,0.005566543433815,0.033101979643106,-0.000694542366546,0.066091001033783,-0.123068794608116,-0.004865095950663,-0.113247781991959,0.006802873685956,0.025096818804741,0.044516660273075,0.124139457941055,0.037513807415962,0.083296194672585,-0.010956789366901) * MODEL8_texOff(vec2(1,1));
res += mat4(0.090850815176964,-0.037945937365294,0.188595026731491,-0.007080981973559,0.262701004743576,-0.169622838497162,0.117454253137112,0.027363073080778,-0.155637979507446,0.081576377153397,-0.042263165116310,0.027091005817056,-0.101951114833355,0.083910182118416,-0.078983858227730,0.076044052839279) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.033579222857952,0.094554863870144,-0.106894813477993,0.016206640750170,0.014135605655611,-0.042968966066837,0.093828491866589,0.043808512389660,0.017268655821681,-0.027172338217497,0.098972782492638,0.045334786176682,0.003474150318652,0.118968456983566,-0.035699784755707,0.122488155961037) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.036235529929399,0.030689030885696,0.038627546280622,0.026483841240406,0.004056283272803,-0.102060109376907,-0.069325841963291,-0.064368769526482,0.017609987407923,0.011862093582749,-0.059677179902792,-0.026288889348507,0.097739867866039,0.028284383937716,0.035947989672422,-0.034794278442860) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.113597400486469,0.068354360759258,0.076408281922340,0.087751187384129,0.028964921832085,-0.139845520257950,0.016908520832658,0.183181211352348,0.036866974085569,-0.175054565072060,0.009256358258426,0.088183581829071,-0.044219568371773,-0.063369229435921,0.293776512145996,0.030433787032962) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.108873993158340,0.124666772782803,0.228756308555603,-0.178024441003799,0.061108648777008,0.139748066663742,0.001651417464018,0.029348278418183,-0.372137576341629,0.094135679304600,-0.257808625698090,-0.010746892541647,-0.011848337948322,0.002144353697076,0.059108663350344,-0.089075297117233) * MODEL9_texOff(vec2(0,0));
res += mat4(0.030656350776553,0.022545557469130,0.092958755791187,0.041481137275696,0.108258798718452,-0.014117746613920,-0.026456521824002,0.079434216022491,0.012999845668674,0.052211336791515,-0.041891239583492,0.027028655633330,0.073179155588150,-0.092118844389915,-0.105180315673351,0.058348961174488) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.159601509571075,-0.042073864489794,0.054740969091654,-0.044392660260201,-0.009921052493155,-0.057006873190403,0.000880831037648,0.154040664434433,-0.159698694944382,-0.032379914075136,-0.176517337560654,-0.013199065811932,0.007807641290128,-0.021220937371254,-0.080901041626930,0.003806506982073) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.236383289098740,-0.104991003870964,0.126604750752449,-0.061337556689978,0.052830785512924,0.157798826694489,-0.112404778599739,0.038717404007912,0.157240152359009,0.082021042704582,-0.074313119053841,-0.059054035693407,0.295741111040115,0.079665534198284,-0.048269160091877,-0.079863868653774) * MODEL9_texOff(vec2(1,0));
res += mat4(0.110347464680672,-0.084312044084072,-0.148500129580498,-0.003576671471819,-0.124897971749306,-0.005590118467808,-0.024485625326633,-0.077498048543930,-0.077911131083965,0.015595111995935,0.030263829976320,-0.021195597946644,-0.056261502206326,-0.035284791141748,0.032210711389780,-0.018373742699623) * MODEL9_texOff(vec2(1,1));
res += mat4(0.021466242149472,-0.041514296084642,0.058296550065279,0.046220250427723,-0.119760185480118,0.147658124566078,0.113480783998966,0.039830356836319,0.084266245365143,0.046784058213234,0.045481029897928,0.005601403769106,0.043646056205034,0.017665578052402,0.054617136716843,-0.084985427558422) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.093117840588093,-0.063512168824673,0.144443169236183,0.082335114479065,-0.002442656317726,0.003093294799328,-0.195324316620827,-0.237367808818817,-0.156050786375999,-0.040580235421658,-0.063225626945496,-0.094829708337784,0.112658992409706,-0.103303357958794,-0.053252667188644,-0.010554291307926) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.119870819151402,0.007852403447032,-0.119535349309444,0.031297311186790,-0.010863472707570,0.056057419627905,0.184797734022141,0.048047576099634,-0.042980082333088,0.010974057018757,-0.077413462102413,-0.025830505415797,0.012720379047096,0.218514040112495,-0.089632421731949,-0.034323893487453) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.097641438245773,0.087314002215862,-0.122489556670189,0.233112499117851,-0.046563141047955,-0.073535345494747,-0.048817511647940,-0.139025002717972,-0.030617855489254,0.112352699041367,-0.079506687819958,0.187534168362617,-0.085224479436874,0.077220559120178,0.011642999947071,0.037482019513845) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.008812891319394,-0.162242501974106,0.401154845952988,-0.346560388803482,0.104542642831802,-0.030918054282665,0.274696052074432,0.219300732016563,-0.221952915191650,-0.397319972515106,0.020162938162684,-0.054869152605534,-0.088848717510700,-0.117218933999538,0.205968350172043,-0.236389219760895) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.082625374197960,-0.070584878325462,0.202424809336662,0.132661148905754,-0.063844248652458,-0.086662136018276,-0.028322888538241,-0.028700627386570,0.015599464066327,0.087339349091053,0.111723437905312,-0.002765677636489,-0.086221203207970,0.112616501748562,-0.212457910180092,0.062976807355881) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.033296797424555,0.021230591461062,-0.093752309679985,0.049660682678223,-0.067774124443531,0.049732461571693,0.120200812816620,-0.029391581192613,-0.026659660041332,-0.018017672002316,-0.170080855488777,-0.044745083898306,-0.096702955663204,0.009926063008606,0.046492312103510,-0.002984578488395) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.005585111677647,-0.040133032947779,0.056306648999453,0.015648065134883,0.004650196526200,0.067513734102249,0.197322234511375,0.066347852349281,0.094605743885040,0.055978577584028,0.012179864570498,-0.025237616151571,-0.108711183071136,0.028839595615864,-0.018017889931798,-0.001473682932556) * MODEL10_texOff(vec2(1,0));
res += mat4(0.001850907574408,-0.083753600716591,0.161578476428986,0.018967190757394,0.066049508750439,0.058426033705473,0.043071974068880,-0.001067921519279,0.030891083180904,-0.064280383288860,0.069178171455860,-0.019906850531697,-0.026799222454429,0.144152984023094,-0.024348400533199,0.013347384519875) * MODEL10_texOff(vec2(1,1));
res += mat4(0.042627282440662,0.048558041453362,0.076214328408241,0.147157534956932,0.170183941721916,-0.433618009090424,0.059256590902805,0.034281905740499,0.018190171569586,0.103874579071999,0.001174428849481,0.018898293375969,0.094600617885590,0.044214338064194,0.041508462280035,0.030803870409727) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.008622251451015,-0.275507777929306,-0.106545560061932,-0.183719664812088,-0.056265577673912,-0.273560911417007,-0.141609221696854,0.009638690389693,0.113086402416229,-0.043039266020060,-0.265439152717590,-0.058411289006472,0.023705426603556,0.153028145432472,-0.114956766366959,-0.073012605309486) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.003443791763857,-0.012193430215120,0.082084432244301,-0.048274692147970,-0.063604354858398,-0.023394234478474,0.151536986231804,0.012766210362315,0.028176361694932,-0.074152953922749,-0.051786739379168,0.020863438025117,-0.040499515831470,0.043360799551010,-0.020474353805184,-0.085936911404133) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.063567049801350,0.046738937497139,-0.220302030444145,0.187282860279083,0.014474402181804,-0.099169284105301,0.122953727841377,-0.057985626161098,-0.007842301391065,0.151798129081726,-0.027187729254365,-0.041860993951559,0.004812706261873,-0.078731499612331,-0.259816795587540,-0.010947630740702) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.013378969393671,-0.375657021999359,-0.274131447076797,-0.092049740254879,0.279677748680115,-0.267023682594299,0.140709817409515,0.060857079923153,0.451076656579971,0.073686994612217,-0.237008228898048,0.214868426322937,0.022130142897367,-0.029244173318148,-0.038464680314064,0.027284620329738) * MODEL11_texOff(vec2(0,0));
res += mat4(0.109658412635326,-0.130077674984932,0.049654390662909,-0.048391554504633,-0.024484807625413,-0.083090052008629,0.042069133371115,-0.082506313920021,-0.039464931935072,0.121211379766464,0.010502923280001,0.063771516084671,0.003579181153327,-0.098059535026550,-0.011426706798375,-0.067326843738556) * MODEL11_texOff(vec2(0,1));
res += mat4(0.019430957734585,0.048033263534307,-0.038011528551579,0.014363376423717,0.069527454674244,0.019746508449316,0.060756374150515,0.031674664467573,0.029641095548868,0.097724042832851,0.086178936064243,0.005788132548332,-0.094668127596378,-0.030830159783363,0.038097098469734,0.001074286527000) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.028799001127481,-0.039383187890053,-0.038270860910416,0.065138459205627,-0.194665342569351,-0.017927147448063,0.075230151414871,0.072988890111446,-0.060420602560043,-0.060154050588608,0.124101608991623,0.086089178919792,0.050520353019238,0.013747450895607,0.196062088012695,0.135004535317421) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.001003423123620,0.050269961357117,-0.024306507781148,-0.009830556809902,0.107326962053776,0.088549934327602,-0.127973929047585,0.018473839387298,-0.051514256745577,-0.003309795865789,-0.124839954078197,0.032018091529608,0.057163294404745,0.084480591118336,-0.017449012026191,-0.005907530430704) * MODEL11_texOff(vec2(1,1));
res += mat4(0.066024273633957,0.021522318944335,-0.170056492090225,-0.002198597183451,-0.030466681346297,-0.042234666645527,0.026933040469885,-0.026056652888656,-0.165105774998665,-0.080110818147659,-0.140231251716614,0.048453968018293,0.201139807701111,-0.059261772781610,0.048132468014956,-0.102001868188381) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.320651084184647,-0.041494257748127,0.268749803304672,0.065888501703739,0.123784944415092,0.076593935489655,0.068414852023125,-0.155464276671410,0.071971163153648,-0.116038523614407,0.011728357523680,0.109471715986729,0.062695570290089,-0.053252216428518,0.053270757198334,-0.030261132866144) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.085516087710857,-0.067994989454746,0.089430704712868,-0.003357318928465,0.012388321571052,0.094596289098263,0.025198373943567,-0.002020374406129,0.126793682575226,-0.132122248411179,-0.074832864105701,-0.056337662041187,0.102486938238144,0.050372194498777,-0.212272509932518,0.069399923086166) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.138933926820755,-0.083809040486813,-0.054981518536806,-0.068588055670261,0.143302112817764,-0.147119462490082,-0.011437633074820,-0.061625812202692,0.171779990196228,-0.375790745019913,0.088145047426224,-0.123104929924011,-0.020697249099612,0.115753419697285,-0.086703114211559,0.038172125816345) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.454793721437454,0.180788502097130,-0.049839310348034,-0.063822768628597,-0.420407921075821,0.466860830783844,-0.222357228398323,-0.041483636945486,0.118642702698708,-0.206991374492645,-0.027711018919945,0.113426007330418,-0.136137649416924,0.096193179488182,0.068764366209507,-0.166697502136230) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.206253051757813,-0.059193424880505,0.011427565477788,-0.024613747373223,-0.006760487798601,0.029016073793173,0.143314421176910,-0.005618519149721,0.087451837956905,0.061487063765526,-0.013525872491300,0.043074931949377,0.009102256037295,0.121330253779888,-0.065317936241627,0.098651543259621) * MODEL12_texOff(vec2(0,1));
res += mat4(0.044247690588236,0.022693451493979,0.077466465532780,-0.020869279280305,-0.014785578474402,-0.003395284293219,0.141242742538452,0.005085084587336,0.161199882626534,-0.107237152755260,0.021828271448612,-0.049838747829199,-0.010920870117843,-0.003200450446457,-0.094173267483711,0.028754642233253) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.118260376155376,0.023417847231030,0.046307608485222,-0.015811588615179,-0.013515135273337,0.086361609399319,-0.221808478236198,-0.041903950273991,0.176765367388725,-0.066550858318806,-0.219150364398956,-0.075597360730171,0.183589324355125,-0.000281680782791,-0.039407223463058,-0.019759256392717) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.010002631694078,0.005904153920710,-0.013022440485656,0.060976192355156,-0.040149554610252,0.064953796565533,-0.010203796438873,0.025592107325792,-0.077788412570953,-0.061866287142038,0.026198426261544,0.005023411940783,-0.072576388716698,-0.047623563557863,0.001588116399944,-0.003593638772145) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.088646121323109,-0.021176146343350,-0.020999317988753,0.883671402931213) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 7_5

vec4 hook()
{
vec4 res = vec4(-0.181066691875458,-0.010000733658671,-0.106130935251713,-0.081570580601692);
res += mat4(-0.205179691314697,-0.041536957025528,-0.030558194965124,0.064358882606030,0.062925890088081,0.188317835330963,0.053441617637873,0.193350970745087,-0.084610782563686,0.003111168975011,-0.089997477829456,0.046188216656446,0.001761573133990,0.032221537083387,-0.001166383503005,-0.058501876890659) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.129066899418831,0.008295267820358,-0.175273373723030,0.207116529345512,0.007762586232275,0.160766780376434,-0.214983046054840,0.086875349283218,0.014367787167430,0.041286692023277,-0.207543507218361,-0.013876677490771,-0.001850987318903,-0.093615099787712,-0.097244679927826,0.002124593593180) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.107089295983315,0.022598382085562,-0.126726031303406,0.134610339999199,-0.057630196213722,0.047721173614264,0.018572460860014,-0.031805694103241,-0.005583206657320,0.057977963238955,-0.064086966216564,0.010165585204959,-0.000087478772912,-0.081030786037445,-0.052231937646866,0.050838001072407) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.041077692061663,0.007929721847177,-0.124076850712299,-0.063968420028687,0.000801406451501,-0.031678169965744,-0.025691859424114,-0.125569313764572,0.120913311839104,0.024022363126278,0.068710364401340,0.041726857423782,0.258755207061768,0.185027301311493,0.031128237023950,0.017200849950314) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.014712198637426,-0.069057770073414,-0.313996583223343,-0.345328927040100,-0.019316026940942,0.115255415439606,-0.000056880358898,-0.182285100221634,-0.353682905435562,-0.011586177162826,0.042872965335846,0.086389862000942,-0.135372817516327,-0.573463618755341,0.131140545010567,-0.013197090476751) * MODEL7_texOff(vec2(0,0));
res += mat4(0.081098377704620,-0.044314894825220,-0.334450095891953,-0.246648758649826,-0.049457937479019,0.065325073897839,-0.021566543728113,0.022057941183448,0.020522916689515,-0.052056930959225,0.117971397936344,-0.093829467892647,-0.101602815091610,0.211663514375687,-0.014229306951165,0.080058500170708) * MODEL7_texOff(vec2(0,1));
res += mat4(0.269679039716721,0.013026066124439,0.234551131725311,-0.253201156854630,-0.110334776341915,-0.049528662115335,0.152831628918648,0.179130062460899,0.152504071593285,-0.070568449795246,0.086214818060398,0.172844916582108,0.106433257460594,0.080467656254768,-0.004353467375040,0.061284814029932) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.180491149425507,0.019292347133160,0.290161103010178,-0.352161824703217,0.045323818922043,-0.037773169577122,0.205226853489876,0.311605989933014,-0.094330564141273,0.001705623231828,-0.117063604295254,0.274016350507736,-0.059942897409201,0.082351349294186,-0.069218210875988,-0.165576398372650) * MODEL7_texOff(vec2(1,0));
res += mat4(0.144020408391953,0.037715997546911,0.230483278632164,-0.335003972053528,-0.061179559677839,0.021654922515154,0.170377969741821,0.195073783397675,-0.028321012854576,0.017909780144691,0.027571821585298,0.099045634269714,-0.009972725994885,0.031573142856359,-0.041074685752392,-0.082200877368450) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.069202855229378,0.002488110214472,-0.084250576794147,0.053196690976620,-0.049736663699150,-0.032951612025499,0.087325409054756,0.110806785523891,0.032584048807621,-0.003982776775956,0.110037639737129,-0.084548331797123,0.102013282477856,0.102082386612892,-0.174370661377907,0.183670505881310) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.208870470523834,0.020087936893106,0.080886721611023,0.118836872279644,0.118727855384350,0.074219822883606,0.219974428415298,0.136165648698807,-0.135435476899147,-0.128317505121231,0.137511566281319,0.076374106109142,-0.289712548255920,0.087316967546940,-0.266046673059464,0.428194969892502) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.019941076636314,0.000828320160508,0.034993842244148,-0.145238086581230,-0.032977756112814,0.084041595458984,0.093319892883301,0.139168366789818,-0.120535060763359,-0.097974680364132,-0.016956103965640,-0.142201811075211,0.262732982635498,0.036446858197451,-0.081726700067520,0.055973693728447) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.101098977029324,0.037969049066305,0.177703067660332,0.100434415042400,-0.077555462718010,-0.073977008461952,-0.007943452335894,-0.205102548003197,0.166195183992386,0.101721577346325,0.105483092367649,-0.112304404377937,-0.103412717580795,-0.082558460533619,-0.040816597640514,-0.092102073132992) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.027086129412055,-0.039946779608727,0.210026219487190,-0.195015788078308,0.161211803555489,0.012782149948180,-0.052466128021479,-0.289910495281219,-0.127511814236641,0.257328480482101,-0.163250386714935,-0.018626254051924,0.358613133430481,0.045938730239868,-0.016266310587525,-0.402372390031815) * MODEL8_texOff(vec2(0,0));
res += mat4(0.098714113235474,-0.026698166504502,0.024796687066555,0.076585069298744,-0.001651908387430,0.035489242523909,0.038574449717999,-0.286224275827408,-0.160690397024155,0.079951897263527,-0.036831811070442,0.043326307088137,-0.086134016513824,0.087772443890572,-0.073374964296818,0.105870373547077) * MODEL8_texOff(vec2(0,1));
res += mat4(0.002352122217417,-0.012783461250365,0.112189188599586,0.005763829220086,-0.159617453813553,-0.118623368442059,0.211279749870300,0.261000514030457,-0.044160310178995,-0.084232494235039,0.013008194975555,0.101584069430828,0.042435668408871,0.004806744866073,-0.119043394923210,-0.021385347470641) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.103036150336266,-0.054763965308666,-0.109899394214153,-0.183387339115143,0.255970478057861,-0.134440779685974,-0.013888112269342,0.211839258670807,0.080511651933193,-0.263279944658279,0.060801640152931,-0.029237862676382,0.117446713149548,-0.104790680110455,-0.001446581329219,-0.122270189225674) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.025772016495466,-0.107922568917274,0.145030155777931,-0.066152691841125,-0.016544014215469,-0.036948934197426,-0.033428691327572,0.080644667148590,-0.076785340905190,0.019440179690719,-0.168073311448097,0.120555795729160,-0.034940894693136,-0.015876350924373,0.102621726691723,0.038225851953030) * MODEL8_texOff(vec2(1,1));
res += mat4(0.021268337965012,-0.032842889428139,0.147470131516457,-0.111485131084919,0.105496920645237,-0.112406916916370,0.073721230030060,0.030356492847204,-0.181018754839897,-0.035798054188490,0.007180064450949,-0.182613417506218,-0.092524856328964,0.048490319401026,-0.094493575394154,-0.030570542439818) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.053077649325132,-0.055410768836737,0.009324322454631,-0.126686468720436,0.188611686229706,-0.001026244135574,-0.045317996293306,-0.190456271171570,-0.107555717229843,-0.000685809820425,-0.034186936914921,0.187907814979553,0.112843871116638,0.048521582037210,-0.154959484934807,-0.113724417984486) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.024266285821795,0.014477979391813,-0.011826107278466,0.022130705416203,0.059411611407995,0.088656112551689,0.049423214048147,0.066906072199345,0.043181024491787,-0.005543398670852,0.036947514861822,0.063755147159100,-0.171636655926704,0.094523787498474,0.097981624305248,0.029942158609629) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.132306396961212,0.034600351005793,-0.023098887875676,0.086903467774391,-0.018624559044838,-0.038487944751978,0.088167041540146,0.092804737389088,-0.143142119050026,-0.035453908145428,0.295629292726517,0.069718487560749,0.064780056476593,-0.007798815611750,-0.277616232633591,0.087412983179092) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.088777296245098,0.143210560083389,-0.116017177700996,0.048805948346853,-0.021948363631964,-0.097031615674496,0.267122477293015,0.108033835887909,-0.008855937048793,-0.039157234132290,-0.113143250346184,-0.197682291269302,-0.189546152949333,0.106808111071587,-0.315513253211975,0.073831446468830) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.111734010279179,0.067304350435734,-0.102442644536495,0.031899333000183,0.076823823153973,-0.144190207123756,0.048691183328629,-0.169780671596527,0.254409164190292,-0.069358050823212,-0.076399624347687,-0.136407211422920,0.136534422636032,0.017395349219441,-0.097234860062599,0.112250737845898) * MODEL9_texOff(vec2(0,1));
res += mat4(0.030205838382244,0.085021704435349,-0.060566738247871,0.074684672057629,-0.134801819920540,-0.060769647359848,-0.143649831414223,0.128986060619354,-0.089925579726696,0.009038157761097,-0.182206138968468,-0.133698120713234,0.023245936259627,-0.061835449188948,0.124709352850914,0.169288977980614) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.218757644295692,0.129095032811165,-0.208770900964737,0.080098077654839,-0.060455743223429,-0.071134775876999,-0.221137985587120,-0.106922924518585,-0.171064585447311,-0.014264289289713,0.165168583393097,0.002212055027485,0.109327353537083,-0.134809479117393,0.283744543790817,0.277805835008621) * MODEL9_texOff(vec2(1,0));
res += mat4(0.046043120324612,0.062581390142441,0.037283737212420,0.132853016257286,-0.063513703644276,0.123792678117752,0.008309936150908,0.111339710652828,-0.028723875060678,0.022428775206208,0.057187311351299,0.039054531604052,0.009820366278291,0.029381364583969,0.030384935438633,0.104037851095200) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.034247033298016,-0.038460131734610,-0.130752280354500,0.024686055257916,-0.178320348262787,-0.055859766900539,-0.129209890961647,-0.211548358201981,0.085565432906151,-0.064359143376350,0.008439095690846,-0.079639948904514,0.071882560849190,0.077567070722580,-0.032984357327223,0.133123368024826) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.106728971004486,-0.029245736077428,-0.030971808359027,-0.089626856148243,0.140621975064278,0.068825796246529,0.143713727593422,0.124388195574284,-0.157645270228386,-0.046047348529100,-0.161132156848907,-0.168380320072174,0.069402672350407,0.036891676485538,0.071081675589085,0.235860809683800) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.085088305175304,0.036008957773447,-0.113477550446987,-0.202655375003815,-0.081632390618324,0.098616681993008,-0.096583150327206,0.065841667354107,0.014042644761503,0.005501219071448,-0.202154248952866,-0.073340348899364,0.044632796198130,-0.022399328649044,0.072736322879791,0.151428133249283) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.177164748311043,-0.215527012944221,-0.128480195999146,-0.046589888632298,0.071251258254051,0.062140788882971,0.183518022298813,0.095625557005405,-0.084444314241409,-0.222644448280334,-0.017490593716502,0.127411663532257,0.002080131089315,-0.068476624786854,0.063711412250996,-0.013741267845035) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.244758576154709,0.080776453018188,-0.238942041993141,0.149073749780655,0.061731159687042,-0.095015130937099,0.310906708240509,-0.037882648408413,0.152012556791306,0.196651697158813,-0.107092216610909,0.300536423921585,0.146111756563187,0.079793751239777,-0.283257693052292,-0.317319899797440) * MODEL10_texOff(vec2(0,0));
res += mat4(0.061576288193464,0.201895907521248,0.055167593061924,0.044610474258661,-0.229812905192375,0.001198089914396,-0.072471596300602,-0.160559117794037,0.048971574753523,-0.075110919773579,-0.083620123565197,0.022671762853861,-0.039759244769812,-0.121639452874660,-0.034650117158890,-0.027014201506972) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.267861217260361,-0.048118032515049,-0.053044106811285,0.054516624659300,0.125086218118668,0.073560602962971,-0.137825578451157,0.084805421531200,-0.093569979071617,-0.017806479707360,0.062195185571909,0.143647313117981,0.032933942973614,-0.013120919466019,-0.041743136942387,-0.062210466712713) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.085088662803173,-0.105449542403221,0.151520922780037,0.156940922141075,-0.159016668796539,0.112026937305927,-0.325691819190979,-0.126110702753067,0.020167982205749,-0.150506660342216,0.116804391145706,-0.372857004404068,-0.036615505814552,-0.032366167753935,0.037426929920912,0.152871996164322) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.065254390239716,0.178187757730484,-0.131729707121849,-0.031876780092716,0.013360004872084,-0.099422648549080,-0.069745190441608,-0.024396313354373,-0.026305314153433,-0.064018979668617,0.087211355566978,-0.140633121132851,-0.202689722180367,-0.042517248541117,0.026465488597751,-0.003100853879005) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.039888244122267,-0.112577915191650,-0.018427327275276,0.034169379621744,0.220074996352196,-0.016970986500382,-0.080443941056728,0.189635604619980,-0.127764999866486,-0.042874865233898,0.074060268700123,-0.060010854154825,0.009336143732071,-0.089108273386955,0.057110879570246,0.066702574491501) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.197079718112946,0.034587666392326,-0.023476013913751,-0.062487352639437,0.198230698704720,-0.015966948121786,-0.073012843728065,-0.196801811456680,0.034174136817455,-0.008001809008420,-0.142432436347008,0.003226935863495,-0.044968117028475,-0.044084299355745,-0.409398257732391,0.051426846534014) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.017089217901230,0.202481776475906,-0.146017998456955,-0.057715356349945,-0.053530987352133,0.057048279792070,-0.111228473484516,0.098020724952221,-0.143782496452332,-0.004526594653726,0.123604103922844,-0.001862298697233,0.129358828067780,0.021097166463733,0.197171047329903,0.009790604002774) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.126750811934471,-0.175283372402191,0.047455422580242,-0.035138249397278,0.231232389807701,-0.041785180568695,-0.193711876869202,-0.201135978102684,-0.028458366170526,0.040276691317558,0.055532075464725,-0.004453151486814,0.104323096573353,-0.118755765259266,0.118278920650482,0.133845046162605) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.461927324533463,-0.195471897721291,-0.017681332305074,0.032378707081079,0.384530633687973,0.004527703393251,0.128694325685501,0.123103015124798,-0.061348624527454,-0.032773032784462,0.240843817591667,-0.176238894462585,-0.138265937566757,-0.330445706844330,0.365155458450317,0.054907634854317) * MODEL11_texOff(vec2(0,0));
res += mat4(0.193360537290573,0.105028145015240,0.033285830169916,-0.102431319653988,-0.046700298786163,0.069401599466801,0.093908466398716,0.056337606161833,-0.081095270812511,-0.005707609467208,0.144674643874168,-0.226054653525352,0.089832797646523,-0.028667625039816,0.019519008696079,0.090231753885746) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.069597333669662,-0.046323444694281,-0.099419832229614,0.019415564835072,0.168893098831177,-0.064434908330441,0.071982301771641,0.161381572484970,0.005351645871997,-0.000553935708012,-0.058080635964870,-0.024897696450353,0.104868017137051,-0.033783417195082,0.084835454821587,-0.117219135165215) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.105772785842419,-0.127564981579781,-0.036572981625795,0.070357732474804,0.126119628548622,-0.043726429343224,-0.128889143466949,0.031145870685577,-0.114683896303177,0.110918521881104,-0.565630376338959,0.058222483843565,0.015822468325496,-0.010300006717443,0.051988456398249,-0.386877596378326) * MODEL11_texOff(vec2(1,0));
res += mat4(0.108540013432503,-0.035902466624975,0.070303142070770,0.002347052330151,-0.025300186127424,-0.085385456681252,-0.031108342111111,-0.009615135379136,-0.026241462677717,0.012508104555309,-0.284697294235229,-0.073812544345856,0.165536418557167,-0.081591829657555,0.071224622428417,-0.052727669477463) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.056392729282379,0.003233538474888,-0.104725480079651,0.151718378067017,-0.039082691073418,0.015123166143894,0.064561165869236,-0.054078076034784,-0.127991214394569,0.020358040928841,-0.095231346786022,-0.113051749765873,0.213743954896927,0.054820846766233,0.040123160928488,0.105547085404396) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.063006959855556,0.017833391204476,-0.288212835788727,0.338727712631226,0.000250675337156,0.087356135249138,-0.289316922426224,0.096934862434864,-0.118222378194332,-0.024531822651625,-0.031177891418338,0.142909705638885,-0.221620306372643,-0.051912777125835,0.034273810684681,0.107344776391983) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.003718741703779,0.015614859759808,-0.202693551778793,0.067998088896275,0.005677314475179,0.056932948529720,-0.012262316420674,-0.074601925909519,0.169375449419022,0.008931203745306,0.058129448443651,-0.026241209357977,-0.017050074413419,-0.148274794220924,-0.040349531918764,-0.003878573654220) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.220887854695320,0.044839635491371,0.071650177240372,0.016817446798086,0.123453892767429,0.022540464997292,0.061341505497694,-0.075916372239590,0.079085163772106,0.185062125325203,-0.023934448137879,-0.005196780897677,-0.017012313008308,-0.139805182814598,-0.200281232595444,-0.068544834852219) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.229179427027702,0.042479995638132,-0.043338220566511,-0.324647307395935,-0.358138889074326,0.022046202793717,0.172741904854774,-0.207063347101212,-0.023153210058808,0.079751051962376,-0.141130000352859,-0.293308198451996,-0.038983196020126,-0.036790717393160,-0.278057843446732,-0.145506501197815) * MODEL12_texOff(vec2(0,0));
res += mat4(0.034455280750990,0.050254814326763,-0.144827678799629,-0.021827602759004,-0.129256233572960,-0.087120957672596,0.038638327270746,-0.034301474690437,0.158793807029724,-0.148035198450089,0.052766807377338,-0.180061653256416,-0.179150059819221,-0.023517698049545,-0.047721467912197,0.111506566405296) * MODEL12_texOff(vec2(0,1));
res += mat4(0.004723903257400,-0.028192570433021,0.036649994552135,0.026768630370498,0.000348694447894,0.002823769813403,-0.053825225681067,0.076603613793850,0.158618539571762,0.090721763670444,-0.030474649742246,0.003287736326456,-0.122538328170776,-0.080091804265976,0.315449953079224,0.075344063341618) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.133998095989227,-0.001142643974163,0.053507585078478,-0.048274226486683,-0.223179921507835,-0.074164144694805,-0.244022116065025,-0.126981839537621,-0.078769534826279,0.139070734381676,0.094218745827675,0.087103217840195,0.111700035631657,-0.114775821566582,0.265863090753555,-0.120911210775375) * MODEL12_texOff(vec2(1,0));
res += mat4(0.038075681775808,-0.022868881002069,-0.103232927620411,-0.098620593547821,-0.011826712638140,-0.052300751209259,-0.017251618206501,0.008000905625522,-0.049867924302816,0.064803488552570,-0.075682371854782,-0.005104269832373,-0.068508118391037,0.025649648159742,0.121448010206223,-0.132339969277382) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.025699980556965,0.937302231788635,0.033434130251408,0.051700916141272) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 7_6

vec4 hook()
{
vec4 res = vec4(-0.134733378887177,-0.058777280151844,-0.165665671229362,0.158550187945366);
res += mat4(0.028162650763988,0.011565097607672,0.004717725794762,0.105730868875980,-0.009144114330411,0.219199836254120,0.099582627415657,-0.105666644871235,-0.009676323272288,0.099977739155293,-0.164537012577057,-0.055888969451189,-0.061019971966743,-0.014005287550390,-0.146469354629517,-0.019849121570587) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.058685477823019,-0.234223455190659,0.024085141718388,0.028934432193637,-0.035188972949982,0.094355449080467,0.179763913154602,-0.033978093415499,0.060870051383972,-0.138889744877815,0.061055533587933,0.079404532909393,0.058886393904686,0.114213265478611,0.218915149569511,0.053008656948805) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.067907929420471,-0.037624284625053,0.015188506804407,0.047486897557974,0.041662577539682,0.024391613900661,0.078820958733559,0.079600304365158,0.012642464600503,-0.051499571651220,-0.208594232797623,-0.049749217927456,0.027621984481812,-0.140320390462875,0.047223389148712,0.037655428051949) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.002855491358787,-0.110476538538933,-0.075995005667210,-0.110762067139149,-0.100780263543129,-0.051803443580866,-0.117599740624428,0.016287632286549,-0.018511010333896,0.060421008616686,0.047605711966753,0.006617391016334,-0.002838082844391,-0.070903897285461,-0.038854241371155,0.008842472918332) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.063349805772305,-0.044695675373077,-0.021453384310007,-0.049954514950514,-0.202693000435829,0.118809908628464,0.027050875127316,-0.036590218544006,-0.011489899829030,0.252830415964127,-0.151599764823914,-0.094314545392990,0.148151740431786,0.001409432152286,0.400986969470978,-0.012645578943193) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.171637296676636,-0.148255035281181,0.034210793673992,0.071911975741386,0.004353448282927,0.197140902280807,0.018566895276308,0.040378145873547,0.129171401262283,0.211901605129242,-0.018270159140229,0.027356782928109,-0.134033054113388,0.049172140657902,-0.461419492959976,-0.080335631966591) * MODEL7_texOff(vec2(0,1));
res += mat4(0.103636883199215,-0.029486378654838,-0.041089784353971,0.131893485784531,-0.036494553089142,0.070390440523624,0.016176927834749,0.050787262618542,-0.013266884721816,-0.018587049096823,0.098547123372555,0.124777637422085,-0.034435395151377,-0.085535712540150,-0.049823906272650,-0.001019168528728) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.141676366329193,-0.215979486703873,-0.117460347712040,0.029849966987967,0.092769563198090,0.177211627364159,0.143726438283920,0.048433639109135,-0.044142942875624,-0.279027730226517,-0.012699286453426,0.032675657421350,-0.207535713911057,-0.210226148366928,-0.093909777700901,-0.209725618362427) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.181930050253868,-0.061201024800539,-0.011158391833305,0.192997023463249,0.146343693137169,0.094187371432781,0.035240590572357,0.049099709838629,-0.016563717275858,0.146812662482262,-0.016627531498671,-0.053622718900442,-0.030354993417859,0.009007143788040,-0.043966989964247,0.049669302999973) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.063356146216393,0.054069563746452,-0.101950995624065,-0.036598850041628,0.028681959956884,-0.022670784965158,0.040748905390501,-0.040223821997643,-0.010783928446472,0.055246580392122,-0.019511306658387,0.015108471736312,0.005167579744011,0.085044182837009,0.030778482556343,-0.010831921361387) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.059165827929974,-0.251479476690292,-0.250831931829453,0.097513444721699,-0.045074522495270,0.003083837917075,0.009118319489062,-0.028823193162680,-0.007293945178390,0.064822264015675,0.071219623088837,-0.042749125510454,0.011800291948020,0.055312260985374,-0.076324835419655,0.083730973303318) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.011165769770741,0.004833017010242,0.077619321644306,0.041068904101849,-0.065150827169418,-0.068099454045296,0.104965023696423,0.143785268068314,0.068732887506485,-0.087769813835621,-0.069282390177250,0.013077837415040,0.208350047469139,-0.143976315855980,0.142580434679985,0.115217991173267) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.079835295677185,0.011095263063908,-0.120700009167194,0.087105952203274,-0.145263135433197,0.036825392395258,0.099020846188068,-0.019724160432816,0.160731106996536,-0.052539806813002,0.047042645514011,-0.148054331541061,-0.080122165381908,0.030862804502249,0.032477337867022,-0.031018014997244) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.333608150482178,0.139098376035690,0.308278530836105,0.119369700551033,-0.191494256258011,-0.050037402659655,-0.008301332592964,-0.063236340880394,0.128039643168449,-0.132185339927673,0.001039579510689,-0.238548442721367,-0.000508432858624,-0.050721723586321,0.015301356092095,0.269945025444031) * MODEL8_texOff(vec2(0,0));
res += mat4(0.153141081333160,-0.045670844614506,-0.024367040023208,0.085462838411331,-0.264880180358887,0.028237676247954,0.024594925343990,-0.194341942667961,0.042544290423393,-0.109664857387543,-0.167715132236481,-0.032101541757584,-0.185736641287804,-0.102564595639706,-0.042721174657345,-0.141684934496880) * MODEL8_texOff(vec2(0,1));
res += mat4(0.044043783098459,0.025210078805685,0.046843763440847,0.143081396818161,-0.061408713459969,0.014061373658478,0.047814305871725,0.041049208492041,-0.006740922108293,-0.137876659631729,0.072619572281837,-0.099577449262142,0.076409913599491,-0.162095710635185,0.044219195842743,-0.051232464611530) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.165141984820366,-0.101683609187603,-0.073302149772644,0.016797978430986,-0.026669004932046,0.153915539383888,-0.020542778074741,0.231095626950264,0.208273380994797,0.039107270538807,0.187881767749786,0.026902452111244,0.036133415997028,0.016018740832806,0.112886428833008,-0.024486588314176) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.053013574331999,0.106868639588356,-0.063592344522476,0.060724958777428,-0.047812350094318,0.080892696976662,0.112631246447563,-0.095376655459404,-0.026302896440029,-0.125331059098244,-0.014536350034177,-0.108524575829506,-0.046549379825592,0.145635291934013,0.083521753549576,-0.069646999239922) * MODEL8_texOff(vec2(1,1));
res += mat4(0.053067561239004,-0.021046319976449,0.028334693983197,-0.015171380713582,0.011946682818234,0.070640109479427,0.168148726224899,0.016554735600948,-0.123911246657372,-0.098150663077831,-0.112413458526134,-0.046424288302660,0.004120998084545,0.152594551444054,0.149494245648384,-0.052220985293388) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.023839864879847,0.157482460141182,-0.027401553466916,-0.040821161121130,0.061063878238201,0.084606245160103,0.107742108404636,0.049179803580046,-0.017269313335419,-0.025885328650475,0.089206598699093,-0.062377348542213,-0.264572769403458,0.011456694453955,0.210967361927032,-0.168672040104866) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.033486999571323,0.045365326106548,0.027983134612441,-0.016981016844511,-0.053097810596228,0.122876085340977,-0.070365950465202,-0.042356919497252,0.011832381598651,-0.003414136823267,-0.124737024307251,0.038736492395401,-0.022899601608515,0.027755033224821,0.088088825345039,-0.083280995488167) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.027950100600719,0.018609195947647,-0.042270421981812,-0.026146713644266,0.036900568753481,0.111656144261360,-0.033786017447710,0.013003864325583,-0.212992429733276,0.330554574728012,-0.029148334637284,-0.020651664584875,-0.153053283691406,-0.194053649902344,0.075987242162228,0.085490815341473) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.108691953122616,-0.314375072717667,-0.101362474262714,-0.045519132167101,0.155101254582405,-0.127571210265160,0.191036581993103,0.064301833510399,-0.150094851851463,0.010258890688419,-0.114275932312012,-0.173556104302406,0.281828701496124,-0.114257976412773,-0.313743472099304,-0.152472198009491) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.027338614687324,0.079961754381657,-0.097384847700596,-0.077838987112045,0.027473282068968,-0.046054057776928,-0.110256828367710,0.167275175452232,0.025058304890990,-0.123278304934502,-0.107065707445145,0.077374234795570,-0.100420728325844,-0.018531400710344,0.022014476358891,-0.035643551498652) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.082405127584934,-0.091211773455143,-0.058180872350931,-0.024879744276404,0.021939728409052,0.034056093543768,-0.005278208758682,0.005165642593056,0.099329724907875,-0.130761012434959,-0.061653774231672,-0.022436723113060,-0.101321011781693,0.123152509331703,-0.093055441975594,0.019253388047218) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.056455470621586,-0.376619488000870,-0.316787332296371,-0.011309707537293,0.030959181487560,-0.012181730009615,0.011941251344979,-0.063346013426781,0.023324649780989,0.056091438978910,0.050750747323036,0.039601501077414,0.345814704895020,0.236025765538216,0.143528550863266,0.079338535666466) * MODEL9_texOff(vec2(1,0));
res += mat4(0.031756982207298,-0.066212907433510,-0.123349681496620,0.036345686763525,-0.016700385138392,-0.106590390205383,-0.000449768616818,-0.150491759181023,0.030341347679496,-0.031754031777382,0.119771838188171,0.115335822105408,0.007250822614878,-0.037188060581684,-0.003822693135589,-0.000211175516597) * MODEL9_texOff(vec2(1,1));
res += mat4(0.009761217981577,0.084319159388542,0.003209615591913,-0.017743011936545,-0.027247129008174,0.076868318021297,-0.003982113674283,-0.011211006902158,0.003594404552132,-0.195094183087349,0.067928291857243,0.014764806255698,-0.030415100976825,0.086580902338028,-0.040732420980930,-0.046906407922506) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.059372656047344,-0.038036201149225,-0.268836617469788,0.071909256279469,0.006816004402936,0.279411435127258,-0.107832856476307,0.008881549350917,-0.065073594450951,-0.003611557651311,-0.023488201200962,-0.072440452873707,0.075769253075123,-0.040818966925144,0.068903326988220,0.044861648231745) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.022079801186919,0.099398292601109,-0.044950760900974,0.118958234786987,0.085387408733368,-0.090666949748993,-0.072282828390598,0.044283501803875,-0.137795567512512,0.011628885753453,-0.149146944284439,-0.084135100245476,0.170717418193817,-0.057366464287043,0.121803209185600,0.079729653894901) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.046513449400663,0.121354229748249,0.055770799517632,0.064790919423103,-0.065810360014439,0.138157263398170,-0.060758400708437,0.042609576135874,0.101933896541595,0.234828814864159,-0.005065846256912,-0.047949604690075,0.053647186607122,-0.092002518475056,-0.023710744455457,0.053890291601419) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.030874671414495,-0.032727785408497,-0.044969819486141,0.077939406037331,0.143950358033180,0.162239179015160,0.032440450042486,-0.047192066907883,0.114296026527882,-0.406482577323914,-0.061672978103161,-0.189963474869728,-0.005072936881334,-0.071605443954468,-0.239984646439552,-0.168051257729530) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.017506625503302,0.193151906132698,-0.241355136036873,-0.041445318609476,-0.138556703925133,0.201191186904907,-0.070486381649971,-0.015916431322694,0.098017066717148,-0.088613666594028,-0.063432589173317,0.107177659869194,-0.100867532193661,0.043833754956722,0.025604408234358,-0.066622585058212) * MODEL10_texOff(vec2(0,1));
res += mat4(0.005420214496553,0.004040547646582,-0.017651433125138,-0.056179884821177,0.043928835541010,-0.043335024267435,0.013893737457693,-0.009129775688052,0.039478972554207,0.047441326081753,-0.098738238215446,-0.010360074229538,-0.006951913703233,0.012287058867514,-0.008350634016097,0.024465085938573) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.047515697777271,0.193085834383965,0.015718135982752,0.184362173080444,-0.104117676615715,-0.221144244074821,-0.076992504298687,-0.154828250408173,0.052293989807367,0.198875591158867,0.038101658225060,0.108094342052937,-0.007772610057145,0.130354031920433,0.043422628194094,0.131722614169121) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.134620577096939,-0.022482573986053,-0.121526315808296,-0.117201097309589,-0.082007266581059,0.022170832380652,-0.007575090043247,0.097929663956165,-0.022637275978923,0.061791665852070,0.147267356514931,0.126812726259232,-0.072986871004105,0.044766571372747,-0.051949206739664,0.165548205375671) * MODEL10_texOff(vec2(1,1));
res += mat4(0.120285339653492,-0.084559701383114,0.147113457322121,0.119792968034744,0.029789367690682,0.034047979861498,0.093068636953831,0.002675971714780,-0.105358697474003,0.023004308342934,-0.030610546469688,0.021632650867105,0.041732944548130,0.002453180262819,0.110454775393009,0.002073503565043) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.137768313288689,-0.024591263383627,-0.058147273957729,0.001161387423053,-0.103437900543213,-0.135739937424660,0.021346636116505,0.123598732054234,0.083340510725975,0.149094298481941,0.082429960370064,0.066359654068947,0.004214115906507,0.102203249931335,0.002218537032604,-0.077185727655888) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.006956485100091,-0.011975009925663,-0.095255300402641,-0.076243050396442,-0.074296206235886,0.019411822780967,0.019690046086907,-0.090309955179691,0.118520334362984,0.067982353270054,0.023548215627670,0.001904013915919,-0.044743459671736,0.078231446444988,-0.095163166522980,0.031941685825586) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.116367258131504,0.176261872053146,0.075301691889763,-0.096543081104755,-0.025035822764039,-0.284796893596649,0.067778155207634,-0.008537623099983,-0.089100636541843,-0.049418754875660,0.100079096853733,-0.006735329050571,0.039915129542351,-0.014393393881619,-0.052817836403847,-0.043161679059267) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.303473979234695,-0.097612760961056,0.212122336030006,-0.199889883399010,0.203031584620476,-0.060558632016182,0.323524147272110,0.128473475575447,-0.146755978465080,0.283023178577423,0.121466375887394,0.033297568559647,0.075479432940483,-0.076845370233059,-0.178613618016243,0.125809699296951) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.037864048033953,0.063748016953468,-0.094861701130867,-0.090787097811699,-0.175695136189461,0.093439631164074,0.043087728321552,-0.020108930766582,0.307979345321655,0.035051591694355,0.206974714994431,0.003415925661102,0.061678733676672,0.113946035504341,0.055506139993668,-0.132687076926231) * MODEL11_texOff(vec2(0,1));
res += mat4(0.058738216757774,-0.132414340972900,0.036569938063622,-0.080076448619366,-0.041789792478085,0.032455045729876,0.094581499695778,0.005854032002389,0.070928059518337,-0.037752170115709,0.010391109623015,0.025871733203530,-0.100497998297215,-0.074169844388962,-0.069748558104038,-0.003072107909247) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.207783520221710,-0.012118940241635,0.056160680949688,0.080561406910419,-0.031263861805201,-0.110279314219952,0.015839450061321,0.089409217238426,-0.050711087882519,-0.271957904100418,-0.081985875964165,-0.175202578306198,-0.361031532287598,0.115111589431763,-0.026768971234560,-0.239638656377792) * MODEL11_texOff(vec2(1,0));
res += mat4(0.061689347028732,0.003869796404615,0.063910596072674,0.062002010643482,0.048718597739935,-0.001719667576253,-0.115329325199127,-0.102772779762745,-0.151456132531166,-0.081380650401115,-0.060028515756130,-0.109751038253307,0.370280146598816,0.013472263701260,-0.052996631711721,-0.007712987251580) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.073158502578735,-0.042737092822790,-0.022439330816269,-0.113649368286133,-0.019423175603151,0.048184625804424,-0.064957521855831,-0.002712953370064,-0.034800022840500,0.033834170550108,-0.053766056895256,-0.015277565456927,0.026385236531496,-0.137734502553940,0.022241065278649,-0.059447214007378) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.094013854861259,0.294143527746201,0.250689864158630,-0.004218445625156,-0.001203982625157,0.081268340349197,0.071667231619358,-0.031217126175761,-0.021709367632866,0.110622115433216,-0.034511201083660,-0.079258248209953,0.119102180004120,-0.277243643999100,0.057855613529682,0.226259797811508) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.127808600664139,0.038049291819334,0.041897296905518,-0.039693478494883,0.032265163958073,-0.092148922383785,0.175764828920364,0.098883904516697,0.109014913439751,-0.066767603158951,0.113258741796017,0.048884622752666,0.160445421934128,-0.091824136674404,-0.008054006844759,-0.024396711960435) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.144915372133255,-0.143611446022987,-0.043804217129946,0.021664587780833,0.009130329824984,-0.044527608901262,-0.003110547550023,0.012846658937633,-0.022426789626479,-0.094180375337601,-0.076431147754192,-0.035899411886930,0.139380723237991,0.056853700429201,0.060567077249289,-0.036277990788221) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.041457232087851,-0.214824318885803,-0.079377435147762,0.038218293339014,0.079986654222012,-0.477810323238373,-0.170555621385574,0.090555235743523,0.004500521346927,-0.018412562087178,0.082992024719715,-0.272418558597565,-0.259897381067276,-0.000189073034562,-0.165509536862373,-0.158382624387741) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.178073853254318,-0.120824657380581,-0.012977750040591,0.036887604743242,-0.034618332982063,0.070466652512550,-0.277879506349564,-0.020578341558576,0.140866339206696,-0.177260220050812,0.174079269170761,0.016615806147456,0.122223630547523,-0.164292424917221,0.002317654434592,-0.076653845608234) * MODEL12_texOff(vec2(0,1));
res += mat4(0.135318547487259,-0.005552913527936,0.036604817956686,-0.026813318952918,0.036004796624184,-0.068879723548889,0.016915330663323,0.137180402874947,0.156256094574928,0.015348360873759,0.039659637957811,-0.039381299167871,-0.108213864266872,-0.015956005081534,-0.050158515572548,-0.080185890197754) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.080632135272026,-0.143920093774796,-0.022765623405576,0.039739225059748,-0.391819417476654,-0.030345672741532,0.103884965181351,0.043940473347902,0.339777767658234,0.053493577986956,-0.047325320541859,-0.177260309457779,0.163652032613754,0.253825306892395,0.098253525793552,0.103843212127686) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.028927566483617,-0.002973719267175,0.063710004091263,-0.086817130446434,-0.107431732118130,-0.004757749848068,0.090132616460323,-0.026325849816203,0.111829228699207,-0.082494333386421,-0.101157337427139,-0.147625163197517,-0.005709663033485,-0.087298728525639,0.009777378290892,0.038216453045607) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.130350396037102,-0.004294354468584,0.049703393131495,-0.397092938423157) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 8_1

vec4 hook()
{
vec4 res = vec4(-0.186797454953194,-0.391183316707611,-0.019693614915013,-0.254910558462143);
res += mat4(-0.133821293711662,-0.048898492008448,0.015932422131300,0.036877989768982,-0.047743577510118,0.020793726667762,0.010511895641685,-0.034071940928698,0.023142309859395,0.048545040190220,-0.017593754455447,-0.026315741240978,0.126888230443001,-0.073720820248127,-0.038957405835390,-0.165013343095779) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.022945236414671,-0.046173539012671,0.005727794952691,-0.015888541936874,-0.092524409294128,-0.159999042749405,-0.112908355891705,-0.014276742003858,-0.082591407001019,-0.124561198055744,0.000058975718275,0.101152889430523,-0.121842429041862,0.234726220369339,0.120609194040298,-0.000020446546841) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.027553966268897,0.034234147518873,-0.019205465912819,0.014055542647839,-0.023084089159966,0.054093167185783,-0.040555331856012,-0.000231016543694,-0.010984606109560,0.139984935522079,-0.047752059996128,0.001435427460819,-0.064114838838577,-0.041728015989065,0.006903823930770,0.008641275577247) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.136376276612282,-0.094680927693844,-0.083543755114079,-0.171475484967232,-0.053349282592535,-0.141345188021660,-0.094588793814182,-0.123245455324650,0.014804815873504,-0.094248920679092,-0.010275373235345,0.124455235898495,0.074379354715347,0.018816649913788,0.059752631932497,0.094640806317329) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.031130924820900,0.034903198480606,0.116463296115398,-0.032698456197977,0.133635610342026,-0.018803970888257,0.170250996947289,-0.179394841194153,0.077624231576920,0.064626649022102,0.032023686915636,0.094295725226402,-0.069600529968739,0.342084735631943,-0.242531239986420,0.068063683807850) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.031376421451569,0.019931916147470,0.000281887885649,0.002830687677488,-0.013715757988393,0.172161087393761,0.009967432357371,-0.018563834950328,0.097276084125042,-0.023733949288726,-0.126918569207191,0.003752557095140,0.107798531651497,-0.077458307147026,-0.017632722854614,-0.023904677480459) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.077599123120308,-0.020387277007103,-0.007330715190619,-0.101757943630219,-0.120033673942089,-0.052333418279886,-0.009717280045152,-0.034230694174767,0.033184383064508,-0.031823322176933,-0.030157802626491,0.025017658248544,0.017151309177279,-0.000727128528524,0.009812010452151,-0.085168033838272) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.010493157431483,0.050772365182638,0.008461699821055,0.038604997098446,-0.183882549405098,0.042255897074938,0.017047272995114,-0.042120743542910,0.004879316315055,0.079676009714603,0.044981345534325,-0.210579529404640,0.028142469003797,-0.065047256648540,-0.081624969840050,-0.049420502036810) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.038302067667246,-0.036130715161562,0.016573095694184,-0.002104384358972,-0.260471105575562,-0.145909637212753,-0.050821628421545,0.015139156952500,0.023979950696230,0.068080946803093,0.080562330782413,0.068072997033596,0.077458098530769,0.061472024768591,0.002837482839823,0.019802564755082) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.022906962782145,0.012065459974110,0.018742218613625,-0.039214838296175,0.081219755113125,-0.057854883372784,0.081433109939098,0.218141958117485,-0.056042343378067,0.022054059430957,-0.016553930938244,0.066818386316299,-0.120377205312252,0.051045514643192,-0.056019023060799,-0.072820693254471) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.016894191503525,-0.014696245081723,-0.259778350591660,-0.091416433453560,0.067836046218872,-0.082192353904247,0.033318687230349,-0.035451106727123,-0.039093319326639,-0.037114474922419,-0.156303018331528,-0.025941457599401,-0.028422938659787,0.124685414135456,0.149749353528023,0.057786818593740) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.027778616175056,-0.051469877362251,0.020765392109752,0.062018822878599,-0.114247187972069,-0.001506600761786,0.002588783157989,0.055735506117344,0.021764757111669,-0.020861949771643,-0.011021708138287,-0.009326739236712,0.109798409044743,-0.097549065947533,0.050167560577393,0.033926680684090) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.010444850660861,-0.082384884357452,-0.325225889682770,0.280584454536438,-0.098981589078903,-0.021048838272691,-0.005088236182928,-0.143432185053825,-0.139191597700119,0.059657786041498,0.076132915914059,-0.071776941418648,0.024988060817122,0.059923067688942,-0.116558596491814,-0.077425107359886) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.137813970446587,0.040638417005539,0.386487007141113,0.041463486850262,0.059904616326094,-0.109811998903751,0.223216816782951,0.160952433943748,-0.070895269513130,-0.344647169113159,0.082860901951790,0.059937871992588,0.226629599928856,-0.088840268552303,-0.129551663994789,-0.031164262443781) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.053699128329754,-0.070144213736057,-0.129245623946190,-0.062645383179188,-0.056034699082375,0.004171029664576,0.017214953899384,0.081841208040714,-0.023510158061981,0.118556618690491,-0.043211728334427,0.014781584963202,0.180310249328613,-0.036228749901056,-0.010299025103450,0.041409566998482) * MODEL2_texOff(vec2(0,1));
res += mat4(0.106780797243118,-0.026297917589545,-0.041456654667854,-0.110677964985371,-0.031979069113731,-0.035777989774942,0.024788307026029,0.087501555681229,0.204865619540215,0.027106540277600,0.090729050338268,-0.076606892049313,-0.195901066064835,-0.158030748367310,0.021183807402849,-0.034711990505457) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.104279398918152,-0.039788600057364,0.026386698707938,-0.016959937289357,0.022759715095162,0.036445245146751,0.089138306677341,0.201237142086029,0.044218622148037,0.090358451008797,0.216955140233040,0.024126995354891,-0.211194604635239,-0.125598594546318,0.113959029316902,0.021433724090457) * MODEL2_texOff(vec2(1,0));
res += mat4(0.004028942435980,-0.028702184557915,-0.007602235767990,-0.005168778356165,-0.060085847973824,-0.009838201105595,-0.037526775151491,-0.014618895016611,-0.175531849265099,-0.055600374937057,-0.009170666337013,0.064151421189308,0.119552031159401,-0.048311948776245,0.012688072398305,-0.041498623788357) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.214282438158989,-0.006940062157810,0.055747281759977,0.053155303001404,-0.003746924689040,-0.012438394129276,-0.028722940012813,0.028664279729128,-0.197393625974655,-0.129345908761024,0.035104662179947,-0.011580319143832,0.042035497725010,0.129077315330505,-0.003879860043526,0.003914817702025) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.022448230534792,0.015274788253009,0.069103702902794,0.003257649252191,-0.085532106459141,-0.050509460270405,0.077415876090527,0.094956643879414,0.005978612229228,-0.135418191552162,-0.083300411701202,0.085246816277504,-0.001285063102841,0.050500039011240,0.013383324258029,0.077453590929508) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.047554530203342,0.082709789276123,0.117180578410625,0.032992493361235,-0.003831227310002,-0.253747910261154,0.055769514292479,-0.027252245694399,0.051330838352442,-0.133388012647629,0.003231632523239,0.024107344448566,0.012725037522614,0.020434636622667,-0.028356097638607,0.097950108349323) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.066003493964672,0.103891640901566,0.316738188266754,-0.105061426758766,0.072398230433464,-0.201530501246452,-0.015011579729617,-0.092781729996204,0.169098719954491,0.090294070541859,0.033661846071482,0.113747246563435,0.014483483508229,-0.166473314166069,-0.263847857713699,-0.149435341358185) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.080815367400646,0.059857517480850,-0.297227501869202,-0.240136772394180,0.078816682100296,-0.178140461444855,-0.052848756313324,0.036591343581676,0.142670869827271,0.154592603445053,0.187533989548683,0.102714605629444,0.011911377310753,-0.107377536594868,0.058857642114162,-0.060000006109476) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.015842711552978,-0.124280922114849,0.078709565103054,0.046588063240051,0.053917720913887,0.173429742455482,0.061083953827620,0.015875229611993,0.079162746667862,0.104056373238564,0.004659094847739,-0.022083105519414,0.033811740577221,-0.082801334559917,-0.028358392417431,-0.074623659253120) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.106114134192467,-0.047154363244772,0.070418387651443,-0.103603690862656,0.009801080450416,0.086794227361679,0.005813288036734,-0.043211866170168,-0.012386631220579,-0.069755278527737,-0.113168507814407,0.038247223943472,0.008907617069781,0.155759349465370,-0.020091025158763,0.319816350936890) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.010286158882082,-0.058786947280169,-0.005107710603625,-0.053921867161989,0.038017038255930,0.054921258240938,0.056583628058434,0.116667889058590,-0.074204668402672,-0.025241242721677,0.085302054882050,-0.046275909990072,0.019912907853723,-0.020862212404609,-0.011130874045193,-0.077410444617271) * MODEL3_texOff(vec2(1,0));
res += mat4(0.013192456215620,0.019801935181022,0.034055858850479,-0.007576427422464,0.083320572972298,0.102562829852104,-0.012550289742649,0.059410259127617,0.040995884686708,0.042927071452141,0.003797145793214,-0.049470096826553,-0.021039800718427,0.060720458626747,-0.002232174621895,-0.005546887870878) * MODEL3_texOff(vec2(1,1));
res += mat4(0.094270326197147,-0.034876246005297,-0.037294395267963,0.034761074930429,0.009869122877717,-0.017335705459118,-0.022486507892609,0.003406143048778,-0.106583960354328,-0.006648242473602,-0.018441960215569,0.129769042134285,0.115436658263206,0.003312652930617,0.023846119642258,-0.017819654196501) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.202877551317215,0.004699112381786,0.189338922500610,0.014305395074189,0.013540206477046,0.176726892590523,-0.061371471732855,-0.008682761341333,-0.087959371507168,-0.041452985256910,-0.037248335778713,0.060467254370451,-0.010761342011392,-0.071533188223839,0.126020848751068,0.022831400856376) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.045262601226568,0.159237772226334,0.023788880556822,0.002818247536197,0.139091998338699,0.096033766865730,0.027031302452087,0.080257281661034,0.054667677730322,0.082448162138462,-0.028342079371214,0.008493532426655,0.007397052831948,-0.043644748628139,0.013032171875238,-0.026333807036281) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.140762314200401,0.029601024463773,0.097982868552208,-0.015262834727764,0.085309371352196,0.148844674229622,0.047237757593393,-0.177212163805962,0.107234276831150,-0.032656688243151,0.054283469915390,-0.081787340342999,-0.140474587678909,-0.007012233603746,0.041499897837639,0.047937225550413) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.137443140149117,0.361839294433594,0.030387444421649,0.091350965201855,-0.006855232175440,-0.409880965948105,-0.041956122964621,-0.010354320518672,-0.079430565237999,-0.066495373845100,-0.131454750895500,-0.079776883125305,0.097810581326485,0.098310038447380,-0.198123902082443,0.030813183635473) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.073483049869537,-0.051849909126759,0.044969454407692,-0.016436647623777,-0.068960152566433,-0.126237630844116,-0.085024267435074,-0.112082824110985,-0.038811542093754,-0.030651146546006,-0.019541133195162,-0.010479286313057,0.114270053803921,-0.089102700352669,-0.013653674162924,-0.103960216045380) * MODEL4_texOff(vec2(0,1));
res += mat4(0.062263797968626,0.127028584480286,-0.010037566535175,0.008361342363060,-0.071749255061150,-0.124082453548908,-0.049578174948692,-0.208998426795006,-0.141714707016945,0.023298505693674,-0.000819335575216,0.074668213725090,-0.043449807912111,0.031143998727202,0.056569162756205,0.127564281225204) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.053555808961391,0.101933106780052,-0.095286838710308,-0.102839261293411,0.135237798094749,-0.074578866362572,0.036851827055216,-0.137772426009178,-0.120742961764336,0.050570957362652,0.080594524741173,0.197428509593010,-0.058708738535643,0.003452598350123,0.145575612783432,0.141396492719650) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.154396235942841,0.036883112043142,0.098879285156727,0.073661081492901,0.218126371502876,0.005856906529516,0.018456988036633,0.047687236219645,-0.097054280340672,-0.045546177774668,0.064716972410679,-0.041949857026339,-0.173599317669868,0.117970705032349,-0.043744534254074,0.024130994454026) * MODEL4_texOff(vec2(1,1));
res += mat4(0.135370016098022,-0.044250138103962,-0.027235727757215,-0.038061365485191,0.195553585886955,0.044027227908373,0.067750245332718,-0.025424132123590,0.146477103233337,0.030990272760391,0.022857308387756,-0.030945317819715,-0.018447741866112,0.125274240970612,-0.046147819608450,0.006761012133211) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.014083206653595,-0.160460770130157,0.017601627856493,-0.056481458246708,0.097721986472607,0.066763386130333,0.198545575141907,0.099602341651917,0.058876622468233,0.026940101757646,0.166951864957809,0.086246713995934,-0.041852936148643,-0.234292775392532,0.284536182880402,0.044964957982302) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.002792336978018,-0.036351192742586,-0.024934118613601,-0.029458338394761,-0.010396211408079,0.024463515728712,0.065448679029942,0.032079316675663,-0.065472036600113,-0.023921759799123,0.059896860271692,-0.025295197963715,-0.198093697428703,0.147853046655655,0.053009625524282,0.011676325462759) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.079857774078846,-0.026371557265520,-0.049818027764559,0.299978703260422,-0.160845115780830,-0.035720102488995,-0.021198941394687,-0.004159470554441,-0.021434031426907,-0.004721808712929,0.019769845530391,0.073631234467030,0.112766489386559,0.032568775117397,0.117628470063210,0.021241586655378) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.070266932249069,0.217159807682037,0.094221279025078,0.185619547963142,0.112115748226643,-0.123683951795101,-0.153931319713593,-0.150895327329636,0.003621131880209,-0.079943217337132,-0.233562618494034,0.041280355304480,0.015160465613008,-0.104098856449127,-0.023216327652335,0.022943668067455) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.118005111813545,-0.050694044679403,-0.092668689787388,-0.003959966823459,0.152704179286957,0.074856735765934,0.110121428966522,-0.011694322340190,0.009844913147390,0.047641187906265,0.089000739157200,-0.055310279130936,-0.083206839859486,0.011850563809276,0.022736923769116,0.028089931234717) * MODEL5_texOff(vec2(0,1));
res += mat4(0.083111651241779,-0.033461086452007,-0.052847471088171,-0.075825817883015,-0.004317997954786,-0.116930946707726,-0.072967432439327,0.044102087616920,-0.209700450301170,0.104190036654472,0.083893246948719,-0.023082401603460,-0.064654953777790,-0.013864926993847,0.061370316892862,-0.002721803029999) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.107847817242146,-0.082504771649837,-0.057252131402493,-0.113853454589844,0.069480992853642,0.140482783317566,-0.010731508024037,0.081629462540150,0.269987612962723,-0.170201808214188,-0.052392289042473,0.031871087849140,0.045867856591940,-0.086952418088913,-0.090632095932961,0.013118671253324) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.033769391477108,0.038305435329676,0.019151818007231,-0.046228259801865,0.095076426863670,-0.093686103820801,-0.000839574320707,0.006864868104458,0.061712633818388,0.030218331143260,0.013509543612599,-0.021990003064275,0.051709849387407,0.057881522923708,-0.000740919262171,-0.016526026651263) * MODEL5_texOff(vec2(1,1));
res += mat4(0.113600984215736,0.136259675025940,0.102667942643166,-0.093735672533512,0.211514577269554,-0.002143173478544,0.001156236976385,-0.046069771051407,0.024503456428647,-0.038261476904154,-0.035445153713226,-0.070344306528568,-0.266349583864212,0.007985123433173,-0.038465868681669,0.016141114756465) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.012043560855091,0.085435517132282,-0.086815625429153,0.006931604351848,-0.008743227459490,0.094738908112049,0.368863999843597,0.081647068262100,-0.121562123298645,-0.059756100177765,0.093277707695961,-0.008215944282711,-0.055645514279604,0.192057117819786,-0.140202790498734,-0.004745280835778) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.019767964258790,0.029458342120051,0.001798356533982,-0.013733114115894,0.016990704461932,-0.120484456419945,-0.010742877610028,-0.077434629201889,-0.124880373477936,0.001717949053273,0.010750314220786,0.006024889182299,0.042352531105280,-0.019636236131191,0.010402598418295,0.079173818230629) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.051252886652946,0.240399852395058,-0.155732825398445,0.145624101161957,0.243665933609009,0.000187644734979,0.174472540616989,-0.076086141169071,-0.256382048130035,-0.177014201879501,-0.253964871168137,-0.111501760780811,0.000991308479570,0.019182944670320,0.093113161623478,-0.132005721330643) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.063309729099274,-0.102052256464958,0.216226428747177,0.012800243683159,0.100375041365623,-0.111589923501015,-0.238327771425247,-0.277605414390564,-0.275839209556580,0.285276085138321,0.173451215028763,-0.085533440113068,-0.264842450618744,0.128263369202614,-0.116300545632839,0.043556533753872) * MODEL6_texOff(vec2(0,0));
res += mat4(0.046744260936975,0.213801771402359,-0.019306454807520,0.061715181916952,0.168189018964767,-0.014703574590385,0.055204726755619,-0.002421095967293,0.023823002353311,0.030492298305035,0.051509104669094,0.052523419260979,-0.147169008851051,-0.148520871996880,-0.119276866316795,-0.017521195113659) * MODEL6_texOff(vec2(0,1));
res += mat4(0.065779574215412,0.033081594854593,0.011263800784945,-0.051010556519032,0.068843223154545,-0.067241877317429,0.020226314663887,-0.048843551427126,-0.019348409026861,-0.046289887279272,0.052564408630133,-0.151637300848961,-0.141994684934616,0.040942937135696,-0.021855831146240,0.023420419543982) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.031917739659548,0.008317953906953,0.008867661468685,-0.003806895110756,-0.034433297812939,-0.020866371691227,-0.094939723610878,0.095573358237743,0.062529310584068,-0.000529781100340,-0.045149475336075,-0.082439340651035,0.037158958613873,-0.068598799407482,0.066153556108475,0.104089610278606) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.009571776725352,-0.026837298646569,-0.010145187377930,-0.012767086736858,0.250986754894257,-0.005639591719955,0.007247981615365,-0.004739093128592,-0.022874647751451,-0.092271566390991,0.057132542133331,0.040288597345352,0.048570092767477,-0.019375598058105,-0.070762656629086,-0.026181895285845) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.034187614917755,0.024238565936685,0.871842443943024,0.003138699335977) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 8_2

vec4 hook()
{
vec4 res = vec4(-0.184123143553734,-0.358771502971649,-0.169071823358536,-0.268810480833054);
res += mat4(0.026188734918833,0.051009878516197,-0.094362214207649,0.118551641702652,0.039875797927380,-0.048759423196316,-0.104569457471371,-0.003914722707123,0.042847182601690,-0.043625105172396,0.039117399603128,-0.041480012238026,0.013715670444071,-0.020000603049994,0.054787173867226,0.057140685617924) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.092741884291172,-0.020916186273098,-0.011366512626410,0.006621615029871,-0.065202660858631,0.026115914806724,0.015431623905897,0.006172097753733,-0.107597552239895,0.087328866124153,0.162813469767570,0.028322767466307,-0.036586735397577,-0.225162714719772,-0.045561276376247,0.105818234384060) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.052656058222055,-0.002117438241839,0.003149850061163,-0.024134950712323,-0.168203562498093,0.043228667229414,-0.109104767441750,0.017268486320972,0.033882722258568,-0.026337146759033,0.090777330100536,0.071294166147709,0.017445614561439,0.111244127154350,-0.004177933558822,-0.062532112002373) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.029955377802253,-0.465225398540497,-0.122596777975559,-0.409419596195221,-0.030159184709191,0.032887671142817,-0.033986825495958,-0.169363304972649,0.052029546350241,-0.041944116353989,-0.031128562986851,0.058184515684843,0.021695092320442,0.152131646871567,-0.107917666435242,0.331711143255234) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.213690355420113,-0.145388126373291,-0.035048596560955,-0.071208633482456,0.021879486739635,0.058843888342381,0.219641685485840,-0.158760473132133,-0.040688298642635,0.136806011199951,0.228172317147255,-0.023504128679633,-0.088418193161488,-0.005337849259377,-0.057376947253942,0.367681652307510) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.125193327665329,0.017710145562887,0.016064491122961,0.042615558952093,0.128315329551697,-0.117122612893581,-0.161093235015869,-0.047113738954067,0.066394202411175,0.169216439127922,0.122497253119946,0.069512933492661,-0.033835563808680,-0.090019084513187,0.010135246440768,0.165851026773453) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.020215963944793,-0.096438631415367,0.062257897108793,-0.051555689424276,-0.041836891323328,-0.009710250422359,-0.004747857339680,-0.014876911416650,-0.018670739606023,0.018377412110567,0.013531878590584,0.037954710423946,0.000052651048463,-0.068178609013557,0.073136202991009,-0.065223962068558) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.016584400087595,0.087065450847149,-0.023843916133046,-0.003494477830827,0.048700921237469,-0.210842922329903,-0.018432060256600,-0.147143542766571,0.010381225496531,-0.086520940065384,-0.053159739822149,0.136180400848389,0.044828731566668,0.097685843706131,0.001778318895958,0.141351461410522) * MODEL1_texOff(vec2(1,0));
res += mat4(0.026291225105524,-0.030439956113696,-0.033796742558479,0.011043271049857,-0.081008709967136,0.055881746113300,-0.018214045092463,-0.099227547645569,-0.091208532452583,-0.013517395593226,0.049985319375992,0.020523758605123,0.028658060356975,-0.013033413328230,-0.024225382134318,-0.089236035943031) * MODEL1_texOff(vec2(1,1));
res += mat4(0.023312838748097,0.001704166410491,0.037784997373819,-0.018314220011234,-0.115364611148834,-0.050913609564304,0.202886238694191,0.015250444412231,-0.008585296571255,0.025309860706329,-0.028092203661799,-0.024920906871557,-0.026373364031315,-0.004536042921245,-0.096669472754002,0.086843125522137) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.105782464146614,0.017878681421280,-0.195101559162140,0.009649690240622,0.237536102533340,-0.051855981349945,0.151548653841019,-0.153853043913841,0.053216427564621,0.092019021511078,0.023685660213232,0.012156528420746,0.002504417905584,0.003322129370645,0.127935886383057,0.069495953619480) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.227175593376160,-0.079827927052975,-0.029617520049214,-0.081886440515518,0.239827692508698,-0.008695047348738,-0.132139667868614,-0.033394660800695,-0.013619804754853,-0.029236720874906,-0.023611821234226,-0.041652582585812,0.136312201619148,-0.000512813858222,-0.062466673552990,0.023149413987994) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.066549815237522,0.111793629825115,-0.270197778940201,0.065019331872463,-0.029680488631129,-0.132644101977348,0.012012527324259,-0.325669616460800,0.093251198530197,-0.044698946177959,0.038058616220951,-0.120820336043835,-0.107184402644634,-0.086350187659264,0.112293019890785,-0.224511235952377) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.218610957264900,-0.131526544690132,-0.102429166436195,-0.247277617454529,0.038242772221565,0.050722297281027,-0.001895748544484,-0.079996004700661,-0.160778552293777,-0.090457387268543,0.009588642977178,-0.107433415949345,-0.121323145925999,0.127306088805199,-0.034410171210766,0.058873001486063) * MODEL2_texOff(vec2(0,0));
res += mat4(0.089279010891914,0.013504613190889,0.075131550431252,-0.193984180688858,-0.053391098976135,-0.061728198081255,-0.136087745428085,-0.017923677340150,0.128503695130348,0.035926721990108,0.030606381595135,-0.008472854271531,0.176581948995590,-0.083298802375793,-0.134413182735443,0.075843103230000) * MODEL2_texOff(vec2(0,1));
res += mat4(0.007787482347339,-0.026801843196154,-0.016529407352209,-0.104792952537537,-0.008900045417249,0.041657950729132,-0.029992122203112,-0.003993972670287,-0.020642064511776,0.123147875070572,0.065153658390045,0.350465059280396,-0.073856346309185,-0.104681342840195,-0.032461278140545,-0.091345220804214) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.011933228932321,0.042823560535908,0.004826528951526,-0.184158116579056,-0.030154822394252,0.006943388842046,0.031265486031771,-0.080609671771526,0.159311011433601,-0.114942818880081,0.011518167331815,0.345829457044601,0.082803495228291,-0.066339410841465,-0.055732432752848,-0.081535950303078) * MODEL2_texOff(vec2(1,0));
res += mat4(0.016708366572857,0.012196727097034,-0.000893055868801,0.016063414514065,0.018926730379462,-0.057868324220181,-0.012451785616577,-0.096979469060898,-0.111490599811077,-0.003919660579413,0.021941816434264,0.130076721310616,0.008425176143646,-0.035797543823719,0.003969757817686,-0.151614949107170) * MODEL2_texOff(vec2(1,1));
res += mat4(0.036603897809982,-0.026141650974751,0.357287585735321,0.070324771106243,-0.003397327382118,0.024555351585150,-0.146186336874962,-0.009647590108216,-0.155586883425713,0.213779494166374,-0.144421175122261,0.032521437853575,0.150327160954475,0.007058436516672,0.014871289022267,0.004392890259624) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.089207418262959,-0.088167630136013,-0.047064878046513,-0.032871007919312,0.021746627986431,-0.013050411827862,0.045161969959736,0.014062625356019,-0.028494017198682,0.220291137695313,-0.153575494885445,0.038843620568514,0.195729061961174,0.046942330896854,-0.101291358470917,0.086370468139648) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.415006816387177,-0.073884934186935,-0.005637323018163,0.029071956872940,-0.141827404499054,-0.008569558151066,-0.143317177891731,0.034593429416418,-0.166740283370018,-0.005694251973182,0.038935638964176,0.005918808281422,-0.040177192538977,0.012117723934352,0.059556685388088,0.044182009994984) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.031370718032122,-0.011475423350930,0.086602762341499,-0.136223495006561,-0.018038127571344,0.162708431482315,-0.114509359002113,-0.113489180803299,-0.209917560219765,-0.245272949337959,0.011109538376331,-0.031983654946089,0.178763762116432,0.200217679142952,0.131453320384026,0.049642711877823) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.040229190140963,0.124830037355423,-0.013223255984485,0.026875024661422,0.128002122044563,-0.058594640344381,-0.013120219111443,0.087725244462490,-0.055979717522860,-0.231159165501595,-0.097679324448109,0.063847087323666,0.118708066642284,-0.260707646608353,-0.091786764562130,-0.007199274376035) * MODEL3_texOff(vec2(0,0));
res += mat4(0.304874092340469,0.004857173189521,-0.012471007183194,-0.004767126869410,-0.429858148097992,-0.179653346538544,0.014866110868752,0.085080213844776,-0.026834098622203,0.057888574898243,-0.085862338542938,0.002938762772828,-0.092142499983311,0.011036681011319,0.114990063011646,0.022648360580206) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.036498557776213,0.010871492326260,-0.021242151036859,0.115489125251770,0.014097791165113,-0.035548418760300,0.109179347753525,-0.091298624873161,-0.084370963275433,0.050588402897120,0.012233088724315,0.054263539612293,0.081343963742256,0.064094319939613,-0.056384209543467,0.045228410512209) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.066853672266006,-0.107118524610996,0.068260498344898,0.015666322782636,-0.000633266987279,-0.023695360869169,0.088717274367809,-0.202777370810509,-0.015401376411319,-0.023176569491625,-0.124151997268200,-0.000719770090654,-0.008819290436804,-0.014361223205924,-0.011084213852882,0.055547114461660) * MODEL3_texOff(vec2(1,0));
res += mat4(0.065877184271812,0.017461081966758,-0.101142108440399,0.059620227664709,-0.033457655459642,0.157558336853981,-0.098440177738667,0.067172922194004,-0.049662478268147,0.087824091315269,0.000543288188055,0.033491361886263,0.020594060420990,0.009742222726345,-0.055793300271034,0.089323297142982) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.088068440556526,0.116575010120869,-0.082840822637081,0.039636466652155,-0.070207908749580,-0.005495539866388,-0.129137262701988,0.068613260984421,-0.039113007485867,0.001029202947393,-0.233046621084213,-0.082731418311596,-0.026038307696581,-0.002024101326242,-0.057585168629885,-0.046750832349062) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.072795130312443,-0.102708362042904,-0.032001707702875,-0.011032873764634,0.002673589158803,0.146755546331406,-0.049995347857475,0.118683621287346,-0.017117088660598,-0.011037139222026,0.145840153098106,0.062284946441650,-0.108852051198483,-0.056777995079756,-0.048615906387568,0.029497062787414) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.069852121174335,0.076539516448975,0.083060778677464,-0.066083632409573,-0.085454374551773,-0.002241024514660,0.031097469851375,-0.028114240616560,0.124756723642349,-0.050095267593861,0.085808500647545,0.050704423338175,-0.131267189979553,-0.063154026865959,0.081550814211369,0.022399185225368) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.058889757841825,-0.060295138508081,-0.000728257757146,0.040381930768490,-0.117917113006115,0.031329140067101,-0.113786987960339,-0.067037962377071,-0.030006393790245,0.093033134937286,0.179502800107002,0.018267523497343,0.014487560838461,0.029881050810218,-0.064326032996178,0.042775493115187) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.065097630023956,0.509919881820679,-0.355088204145432,0.216871187090874,0.154828488826752,-0.260725587606430,-0.108581952750683,-0.075673662126064,0.355687886476517,-0.120229408144951,0.285345166921616,0.196891754865646,0.021835407242179,0.089963354170322,-0.075997129082680,0.182076796889305) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.086121119558811,0.140031024813652,0.049272865056992,-0.086951442062855,-0.226526752114296,0.014656932093203,0.090104579925537,0.135282695293427,0.026819627732038,0.046842090785503,-0.005204778164625,-0.010279545560479,-0.136647731065750,0.108206950128078,0.154302462935448,0.018120346590877) * MODEL4_texOff(vec2(0,1));
res += mat4(0.010865584947169,0.133691862225533,-0.000518229790032,-0.057425193488598,-0.024457117542624,-0.161212071776390,-0.033763464540243,-0.066330038011074,-0.002868206473067,-0.085941582918167,0.001685357303359,0.070732571184635,0.026354581117630,0.066458761692047,-0.060065116733313,-0.015782134607434) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.016685023903847,0.103080295026302,-0.042406871914864,0.040065512061119,0.019899254664779,-0.141314536333084,0.050849869847298,-0.068015791475773,-0.024351902306080,-0.043304249644279,0.085452564060688,-0.086659155786037,0.013314836658537,-0.002094879047945,-0.131023913621902,0.033079687505960) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.054229184985161,-0.086011990904808,-0.052510350942612,0.009037537500262,-0.035020176321268,0.007145245093852,-0.029152790084481,0.016800638288260,-0.018939066678286,0.012228311970830,-0.059427037835121,-0.007150268647820,-0.119341664016247,0.039011377841234,0.127944424748421,0.011486799456179) * MODEL4_texOff(vec2(1,1));
res += mat4(0.005858672782779,0.026848800480366,0.035545907914639,0.008026940748096,0.035530261695385,-0.115435197949409,-0.001368925091811,-0.082610681653023,0.006270466838032,-0.005377226974815,0.016905525699258,-0.097078941762447,0.048806931823492,0.057092104107141,-0.046100869774818,0.057805016636848) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.166302442550659,0.048229373991489,-0.101629361510277,-0.005430060904473,-0.007545087486506,0.039325103163719,0.188243821263313,-0.092372082173824,0.037893529981375,-0.025798181071877,0.032015431672335,-0.068322457373142,0.012679990381002,0.047443382441998,0.117948263883591,-0.223514229059219) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.045470036566257,-0.079497441649437,0.135202616453171,0.065642930567265,0.153947457671165,0.099073544144630,-0.070740446448326,-0.013444395735860,-0.024158243089914,0.051197648048401,0.036188110709190,-0.090499259531498,0.011797540821135,0.005190883297473,0.050361052155495,0.081007197499275) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.057739648967981,-0.076602809131145,-0.006344278343022,0.048855993896723,0.080097302794456,-0.137748643755913,-0.289838492870331,-0.008706930093467,0.028372753411531,0.055072061717510,0.100179746747017,0.072311550378799,0.032255172729492,0.053256493061781,-0.003666317788884,-0.020459948107600) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.066829465329647,-0.008968190290034,0.000495018088259,-0.041749592870474,-0.297705382108688,0.277269423007965,0.268701851367950,0.171130195260048,0.101814270019531,0.175149366259575,0.000251075660344,0.114429272711277,0.088460251688957,-0.116398982703686,-0.037157777696848,-0.142166674137115) * MODEL5_texOff(vec2(0,0));
res += mat4(0.068443089723587,0.046134073287249,0.122653335332870,-0.035155169665813,0.192414358258247,0.007337583694607,-0.110740289092064,0.063257612287998,0.077084332704544,0.037793617695570,0.049432545900345,0.030831292271614,-0.043181873857975,0.107237420976162,0.082176201045513,0.034665312618017) * MODEL5_texOff(vec2(0,1));
res += mat4(0.007103490643203,0.062548860907555,0.050739176571369,-0.070862434804440,-0.029925355687737,0.195353984832764,-0.109655208885670,0.033990401774645,0.001057014567778,-0.182045921683311,-0.105793252587318,0.039122067391872,0.027271648868918,-0.068137034773827,-0.002257391344756,0.008517617359757) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.092005595564842,0.010213408619165,0.054316077381372,-0.038556072860956,-0.041971344500780,-0.038962021470070,-0.027344433590770,-0.021122435107827,-0.006772206164896,0.157719835639000,0.120825566351414,-0.011176952160895,0.008744698949158,-0.020186865702271,0.025674866512418,-0.019154489040375) * MODEL5_texOff(vec2(1,0));
res += mat4(0.131553113460541,-0.031594485044479,0.013575320132077,0.062008153647184,-0.046895522624254,-0.048351433128119,0.030837593600154,-0.011192020960152,0.037390232086182,0.046063713729382,0.031828042119741,0.082420982420444,-0.001828292501159,0.060497891157866,0.009317521005869,-0.034992996603251) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.018858492374420,0.114671818912029,-0.137043669819832,-0.087729245424271,-0.024842455983162,0.002727375831455,-0.052004966884851,-0.152119055390358,0.078561678528786,-0.089668981730938,0.052774369716644,0.005164424888790,0.016745463013649,0.006149441469461,-0.081126078963280,0.099816821515560) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.158058494329453,0.242589771747589,-0.149698048830032,-0.019336268305779,-0.026425452902913,-0.021580148488283,0.079234398901463,0.022595310583711,-0.013608179055154,-0.058712780475616,0.019757485017180,-0.083360299468040,0.037182062864304,-0.004679410252720,0.027492089197040,0.095758944749832) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.162107720971107,0.031530734151602,0.138519793748856,0.104462571442127,-0.057713732123375,-0.008959203958511,-0.016606252640486,-0.026957336813211,-0.004946097265929,0.006582870613784,-0.070053935050964,-0.039962556213140,-0.141287624835968,-0.026082731783390,-0.054248463362455,-0.039733111858368) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.042001582682133,0.175945967435837,-0.097940191626549,-0.262576490640640,-0.002643931889907,-0.026029754430056,-0.019434541463852,0.176123172044754,0.153447061777115,-0.113872297108173,0.089608296751976,0.059041567146778,-0.053842034190893,-0.019693765789270,0.008830832317472,-0.095414943993092) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.006976157426834,-0.063763543963432,-0.002383513143286,-0.206720933318138,-0.008211021311581,-0.038178656250238,-0.064795173704624,0.416240304708481,-0.073812492191792,-0.029235381633043,0.155113637447357,0.100869506597519,0.072431676089764,0.229115515947342,-0.021171862259507,0.102441392838955) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.043057162314653,-0.016542539000511,-0.038678880780935,-0.032212816178799,-0.113676458597183,-0.079069390892982,-0.106965929269791,0.027539333328605,0.001828058506362,-0.046436600387096,-0.113291136920452,0.127504944801331,0.056814908981323,-0.058510936796665,0.128923803567886,-0.029837915673852) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.001291231834330,0.049317188560963,-0.084804601967335,-0.050253961235285,0.058721903711557,-0.121881850063801,-0.037340167909861,0.042298175394535,-0.014927688986063,0.011310794390738,0.093172907829285,0.005160567350686,0.066088221967220,0.113426253199577,-0.029975535348058,-0.113034576177597) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.003092668484896,-0.034809175878763,-0.075279489159584,0.034624274820089,-0.048785626888275,0.018782377243042,-0.021124606952071,0.105973266065121,0.007142012473196,0.008143696002662,0.088528253138065,0.064292699098587,-0.067200675606728,-0.083127312362194,-0.029822928830981,-0.173257529735565) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.089903965592384,0.019183609634638,0.037599276751280,-0.006007764488459,-0.104090385138988,-0.036286924034357,0.042234089225531,0.017196813598275,-0.004802306648344,0.011430749669671,-0.067252330482006,-0.001120384084061,0.115684926509857,0.074191205203533,0.092283464968204,-0.004643496125937) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.003832141170278,0.013150722719729,-0.025437921285629,-0.007567934691906) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 8_3

vec4 hook()
{
vec4 res = vec4(-0.270501136779785,-0.280293077230453,-0.332405358552933,-0.072922065854073);
res += mat4(-0.042807038873434,-0.100838653743267,-0.110173054039478,-0.022546529769897,-0.073609955608845,-0.040110286325216,0.029280167073011,0.026947695761919,0.000032928684959,0.025824118405581,-0.056903142482042,0.036387156695127,-0.005477163475007,0.074247911572456,-0.080375805497169,0.049697361886501) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.055561747401953,0.054988011717796,-0.006901045795530,0.053188521414995,-0.070362113416195,-0.032841458916664,-0.051306866109371,-0.094428554177284,-0.153719604015350,0.050775311887264,0.073839060962200,0.050365779548883,-0.179195106029510,-0.018472895026207,0.149815037846565,0.363501846790314) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.028069321066141,0.006757772527635,0.058403369039297,0.010136587545276,0.003666108008474,-0.045740194618702,0.007127852644771,0.089020192623138,0.137402042746544,-0.080361694097519,0.053322277963161,-0.019972294569016,0.025540346279740,-0.086146250367165,0.010039445012808,0.122827716171741) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.072626605629921,-0.548235476016998,0.154205635190010,-0.012221332639456,0.045535795390606,-0.196229338645935,-0.068773016333580,0.012276257388294,-0.017383908852935,0.055062673985958,0.064864613115788,-0.019814983010292,-0.008424378000200,-0.047373961657286,0.118521623313427,-0.025240689516068) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.252041131258011,0.039166804403067,-0.111036494374275,-0.127174124121666,-0.126940876245499,-0.152521535754204,0.238436713814735,0.221470445394516,0.139360770583153,0.349211812019348,-0.131994932889938,-0.035059973597527,-0.102557025849819,0.073347218334675,-0.298891782760620,0.054664220660925) * MODEL1_texOff(vec2(0,0));
res += mat4(0.033746149390936,-0.003610027022660,0.019269291311502,0.029429409652948,-0.260485857725143,-0.060095239430666,-0.095856346189976,-0.161773338913918,-0.119739644229412,0.049858760088682,0.164447560906410,0.165974691510201,-0.030624222010374,-0.043519005179405,0.000095418872661,0.011798107996583) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.034666400402784,-0.143959790468216,-0.097383432090282,0.018277809023857,0.011501064524055,0.029725868254900,-0.003944299183786,0.007992666214705,-0.003682266455144,-0.073367707431316,-0.073795162141323,0.016655338928103,0.028474101796746,0.023370133712888,0.051714986562729,-0.015767190605402) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.034930769354105,0.001602532807738,0.068398497998714,-0.017628096044064,-0.006624598987401,-0.061769504100084,0.058351401239634,0.068070106208324,0.053469378501177,0.120832547545433,0.116282314062119,0.003654390806332,0.070214122533798,-0.054129522293806,-0.068059824407101,-0.148159563541412) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.003446971299127,0.055573888123035,0.010422925464809,-0.011100651696324,0.021054048091173,-0.135598734021187,-0.088421195745468,0.008091973140836,-0.023129496723413,0.000092387388577,0.013306170701981,-0.061147242784500,-0.086141496896744,0.063899844884872,-0.052423864603043,-0.107512764632702) * MODEL1_texOff(vec2(1,1));
res += mat4(0.065484352409840,-0.043191652745008,0.013028140179813,0.004626892507076,-0.020731279626489,-0.015686348080635,0.007360179442912,-0.018402578309178,-0.052260320633650,0.008267122320831,0.019100571051240,0.042049646377563,-0.019157573580742,-0.028152318671346,-0.030858512967825,-0.009656263515353) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.066842295229435,-0.140914574265480,-0.050288483500481,0.114215202629566,0.278590202331543,-0.130726590752602,-0.002953260671347,0.051446855068207,0.117844969034195,-0.050618320703506,-0.007441844325513,-0.105274543166161,-0.114489503204823,0.018692139536142,-0.060649495571852,0.051674429327250) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.102105006575584,0.119286149740219,-0.077900148928165,-0.141381040215492,-0.109210103750229,0.018939645960927,-0.071352884173393,-0.144682258367538,0.020416431128979,0.034152772277594,-0.004911415744573,-0.057942096143961,0.072476901113987,0.003944914788008,-0.058510407805443,0.045095752924681) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.088296756148338,0.062695361673832,0.001426271745004,-0.067950524389744,-0.008126020431519,-0.034075357019901,-0.021211873739958,-0.017945105209947,0.087036289274693,0.019713602960110,0.034872502088547,0.023977296426892,-0.069407209753990,-0.134607806801796,-0.153935164213181,-0.062337659299374) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.307890176773071,0.007099448237568,-0.045472357422113,-0.196719557046890,0.106397494673729,-0.029910700395703,0.015376082621515,-0.178626403212547,-0.164905101060867,0.017530137673020,0.040286406874657,-0.229499801993370,0.047122325748205,0.169281646609306,-0.258553415536880,-0.143877327442169) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.073828652501106,0.020760653540492,-0.001258922624402,0.140495106577873,0.285387516021729,0.015494749881327,-0.033876627683640,-0.056904125958681,-0.051018789410591,0.046651728451252,0.036016926169395,0.060399901121855,-0.032621420919895,0.107661597430706,-0.022874318063259,0.000181382958544) * MODEL2_texOff(vec2(0,1));
res += mat4(0.034870643168688,-0.041934572160244,-0.004244402050972,0.029428806155920,0.061004504561424,-0.031645279377699,-0.004429647698998,-0.048756275326014,0.029183510690928,-0.022739499807358,-0.177060425281525,0.074685916304588,-0.016529913991690,-0.009422989562154,-0.124721676111221,-0.054278966039419) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.028420962393284,0.056281365454197,0.033171255141497,-0.037430707365274,-0.009646814316511,0.006405796390027,0.026022028177977,0.040578685700893,-0.195311933755875,-0.016319708898664,0.287104010581970,0.223088249564171,-0.147969126701355,-0.143306985497475,-0.083845049142838,-0.053874474018812) * MODEL2_texOff(vec2(1,0));
res += mat4(0.079102151095867,0.024214595556259,0.002613350516185,0.052491247653961,0.011668847873807,-0.044942460954189,-0.006238842848688,0.047180909663439,0.074850283563137,0.048531673848629,-0.053001917898655,0.005909650586545,0.046667642891407,0.000919796875678,0.143814489245415,0.096284724771976) * MODEL2_texOff(vec2(1,1));
res += mat4(0.035408705472946,-0.085943318903446,0.012165034189820,0.049070965498686,-0.021434918045998,-0.130325749516487,-0.122976996004581,-0.016119636595249,-0.056713912636042,0.231508135795593,-0.075556211173534,-0.011413011699915,0.126023575663567,-0.047775831073523,0.022343168035150,-0.061468731611967) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.080920197069645,0.058029040694237,0.036367412656546,0.092570014297962,-0.061799421906471,-0.078525274991989,0.147639229893684,-0.072990357875824,-0.105569057166576,0.005117860157043,-0.018884310498834,0.050835210829973,-0.057759866118431,-0.053354192525148,-0.072863824665546,0.010052488185465) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.074260383844376,-0.079042173922062,-0.089451007544994,-0.119606897234917,0.094944968819618,0.182313457131386,-0.129397496581078,-0.014759961515665,0.125690057873726,0.017231578007340,0.058673825114965,-0.002034853911027,0.030312389135361,0.020898416638374,-0.023672260344028,0.025424545630813) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.029792757704854,0.201423928141594,-0.114406101405621,0.005693395156413,0.061940334737301,-0.142257288098335,0.050584014505148,-0.038275249302387,0.035793080925941,0.337755113840103,-0.050761815160513,-0.097221434116364,-0.041728585958481,-0.523909866809845,0.083757095038891,0.020540324971080) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.156398192048073,0.139203295111656,-0.142051696777344,-0.018292229622602,-0.026061704382300,-0.410860180854797,-0.282095521688461,0.016999850049615,0.288201928138733,-0.300198465585709,-0.118224419653416,-0.153986111283302,-0.022726498544216,-0.110130630433559,0.104775168001652,-0.003642448689789) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.135393723845482,-0.009319520555437,0.065832786262035,-0.073789298534393,-0.030436139553785,0.040769793093204,0.098174512386322,-0.010553039610386,-0.016464231535792,0.155382513999939,0.002076980890706,0.029142711311579,-0.045086510479450,0.004507384728640,0.021484749391675,0.064385041594505) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.024724099785089,0.072495996952057,-0.004958234261721,-0.030649289488792,0.016239222139120,-0.014693618752062,0.111449323594570,0.025084430351853,0.037314023822546,0.099696554243565,0.017253946512938,0.014053266495466,0.028299272060394,-0.061138223856688,-0.000760846945923,0.070506528019905) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.054897643625736,0.048441819846630,-0.026760213077068,-0.104697853326797,0.041904035955667,0.115186013281345,0.050016835331917,0.048629119992256,-0.033587023615837,0.028880264610052,-0.030695974826813,-0.062611490488052,0.199161320924759,-0.087551072239876,0.108935914933681,0.077389709651470) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.022361272946000,0.004180944524705,-0.009006676264107,0.031326383352280,0.077616132795811,0.057516053318977,0.087001696228981,-0.008899405598640,0.043540574610233,0.051922012120485,0.044040657579899,-0.079030193388462,0.012448072433472,0.076908834278584,-0.048181705176830,0.004933200310916) * MODEL3_texOff(vec2(1,1));
res += mat4(0.065044358372688,0.032506585121155,-0.045293867588043,0.005373383872211,-0.076893679797649,0.082340724766254,0.178916335105896,-0.021054765209556,0.025144359096885,-0.023184947669506,0.010539529845119,-0.045065291225910,0.023391228169203,-0.005036532878876,-0.031036717817187,-0.053604733198881) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.034734345972538,-0.017256442457438,0.062850117683411,0.219249472022057,0.033878087997437,-0.010011916048825,-0.113641515374184,0.004596048966050,0.195903867483139,0.113402672111988,-0.121329240500927,-0.087809406220913,-0.071987621486187,-0.011665713973343,-0.083731941878796,-0.120397426187992) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.105700373649597,-0.057552810758352,0.035849440842867,-0.083530299365520,0.054164420813322,-0.018913807347417,0.005089730024338,-0.013796072453260,0.074425593018532,-0.053283277899027,0.158625558018684,0.080805398523808,0.052422072738409,0.003865117905661,-0.034144967794418,0.000076194788562) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.032810959964991,-0.030304580926895,0.031980700790882,0.003093601902947,0.017934724688530,0.254564017057419,-0.211756214499474,-0.008021187968552,0.033719275146723,-0.052585318684578,-0.050617199391127,-0.008340958505869,-0.032218210399151,-0.005731251556426,-0.024096388369799,-0.097135670483112) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.044398870319128,0.264834165573120,0.164717942476273,0.039412196725607,-0.222411110997200,0.012788509950042,-0.210076212882996,-0.040323380380869,-0.263718128204346,0.150702655315399,-0.029326399788260,0.217322155833244,-0.010601183399558,0.032913468778133,0.076002791523933,0.148548990488052) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.010913636535406,0.016309807077050,-0.020891156047583,0.025648275390267,-0.086197189986706,0.025095622986555,0.022863527759910,0.046803396195173,0.240310385823250,-0.200519278645515,-0.084983527660370,-0.082770474255085,0.184313192963600,-0.029785539954901,0.020250169560313,-0.167574420571327) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.009204690344632,-0.069422192871571,0.056836649775505,0.022496115416288,0.003917571622878,0.083702854812145,-0.035318378359079,-0.007688272744417,-0.023713719099760,0.067442290484905,0.008393406867981,0.005310016218573,-0.033977363258600,-0.071967892348766,0.086839400231838,0.013905383646488) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.054188393056393,-0.141032695770264,0.053889032453299,-0.002444881247357,-0.057680469006300,-0.124440759420395,-0.110629804432392,-0.017014011740685,0.061221376061440,-0.009797831997275,-0.070679873228073,-0.187391668558121,-0.036765784025192,0.059070527553558,-0.013437582179904,0.040590774267912) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.021018456667662,0.122962854802608,0.026619849726558,0.048452585935593,0.012221376411617,0.015814103186131,-0.047398306429386,-0.009299200959504,0.039552263915539,-0.170866951346397,0.018226958811283,-0.005699287168682,0.085878066718578,0.037625037133694,0.040319278836250,0.072745904326439) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.081741698086262,-0.028803918510675,-0.026095027104020,-0.018206259235740,0.025157526135445,0.065415918827057,0.011553005315363,0.023254023864865,0.055272020399570,0.088075414299965,0.032558977603912,0.027290042489767,0.023010740056634,0.033227298408747,0.080723777413368,0.039302792400122) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.006288075353950,0.233372375369072,0.023436995223165,0.111301623284817,-0.027809342369437,0.038387686014175,0.220501542091370,0.055526942014694,-0.078188352286816,0.023391928523779,0.123154766857624,0.014239300042391,0.302059471607208,-0.038995593786240,0.102988950908184,-0.276039183139801) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.004338421393186,-0.026491444557905,0.040128979831934,-0.017886325716972,0.007078222464770,0.043712854385376,0.012915344908834,0.040437124669552,0.025084083899856,-0.013205207884312,-0.038953773677349,0.091491833329201,-0.077368080615997,0.074985690414906,-0.113486558198929,-0.007323200814426) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.031766816973686,0.035817272961140,0.101937383413315,-0.062281910330057,-0.065659493207932,-0.095873288810253,0.133023455739021,-0.014498952776194,0.011418029665947,-0.001354787964374,0.056840069591999,0.078797504305840,0.019000347703695,0.054401196539402,-0.046324662864208,0.080251827836037) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.048055220395327,0.364272624254227,0.002921393373981,-0.123926661908627,0.169656008481979,-0.164443910121918,-0.075603380799294,-0.179476618766785,0.159646511077881,0.079752050340176,-0.319785833358765,-0.130447953939438,-0.024819305166602,0.104936592280865,0.008109008893371,0.025706771761179) * MODEL5_texOff(vec2(0,0));
res += mat4(0.034660346806049,0.094026520848274,-0.090371184051037,0.065944679081440,-0.005272207316011,0.111401289701462,-0.011436499655247,-0.164795175194740,0.078327797353268,0.045141514390707,0.139984846115112,-0.058422617614269,0.057168785482645,0.063609704375267,0.086002945899963,0.001967449905351) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.012115334160626,-0.046016730368137,-0.093278318643570,0.043673060834408,-0.028188668191433,-0.112645216286182,-0.109049223363400,-0.001087211654522,0.041126031428576,0.084271512925625,0.056442566215992,0.105069920420647,0.010036543942988,0.016139758750796,0.019466448575258,-0.014386033639312) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.066016025841236,0.076176382601261,-0.033599942922592,0.015406011603773,-0.071664676070213,0.052937131375074,-0.058818433433771,0.060789249837399,0.238862067461014,-0.040462598204613,0.125352397561073,-0.374278277158737,0.034104332327843,-0.030370041728020,0.028667394071817,0.028209175914526) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.131806552410126,0.017879325896502,-0.061051696538925,-0.019551528617740,0.032271351665258,-0.077200256288052,0.046749204397202,0.050829797983170,-0.083671309053898,0.042222075164318,0.059587761759758,0.012008788995445,-0.094454735517502,0.062419146299362,-0.048868805170059,0.044668354094028) * MODEL5_texOff(vec2(1,1));
res += mat4(0.069537319242954,0.154202848672867,-0.135882988572121,-0.026174368336797,0.058563984930515,0.015052316710353,-0.038562111556530,-0.006309214513749,-0.067491114139557,0.054670572280884,-0.064655587077141,-0.037739802151918,-0.131768256425858,-0.214822888374329,0.006409259513021,-0.019355973228812) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.064185090363026,0.190533399581909,0.168619558215141,-0.443147927522659,0.120424278080463,-0.062041737139225,0.105300471186638,0.060709152370691,-0.090015843510628,-0.013319515623152,0.063708931207657,0.032656025141478,0.023624619469047,-0.076434850692749,-0.084175541996956,-0.010261135175824) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.202044889330864,-0.086063437163830,0.102518692612648,0.178186386823654,0.027395093813539,-0.006942206528038,-0.056026261299849,0.139611303806305,-0.004842049442232,0.001980785513297,0.032620482146740,0.100045971572399,-0.115009032189846,-0.027067137882113,0.000224832198001,-0.089582562446594) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.048322062939405,-0.266651481389999,0.194892242550850,0.009761151857674,0.005850617773831,-0.019103841856122,-0.008714739233255,0.046904552727938,-0.073026128113270,0.079519979655743,0.131784990429878,-0.030103214085102,0.028014833107591,-0.019455727189779,0.019389256834984,0.016951199620962) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.008551101200283,-0.148536190390587,0.260968893766403,-0.036849435418844,-0.127800539135933,-0.158810704946518,-0.150033012032509,0.086580887436867,0.065833412110806,-0.278226613998413,0.273806989192963,0.315337091684341,-0.104623615741730,0.024056484922767,0.127942129969597,-0.041643813252449) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.075120657682419,0.113238304853439,0.078886546194553,-0.077217914164066,0.177363276481628,0.046282798051834,-0.031424239277840,-0.008286572992802,-0.022142391651869,0.052262090146542,-0.034325946122408,-0.033822294324636,0.194094151258469,-0.111239992082119,0.027829939499497,0.037262260913849) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.019674994051456,-0.079381003975868,0.061636209487915,0.049874547868967,-0.045510489493608,-0.027063801884651,-0.108467027544975,0.012809107080102,0.004455178044736,0.121704764664173,0.000727202103008,-0.051429096609354,0.004864756017923,-0.001471034833230,-0.002097183838487,0.012343568727374) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.065849274396896,0.036357898265123,0.037318222224712,-0.056349635124207,-0.013343901373446,-0.029310509562492,0.046390175819397,0.132787331938744,-0.093504361808300,-0.020038111135364,-0.236458986997604,-0.001663469010964,0.051700599491596,0.126930490136147,0.075040191411972,0.026557078585029) * MODEL6_texOff(vec2(1,0));
res += mat4(0.114518590271473,0.022660309448838,0.041365429759026,0.019922755658627,0.023264570161700,-0.032613750547171,-0.015501255169511,-0.054393030703068,-0.021197121590376,-0.045035902410746,0.014562898315489,0.000245032628300,-0.017689166590571,-0.050378374755383,-0.142758131027222,0.018649522215128) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.042849216610193,0.008576056919992,0.008256905712187,0.755087971687317) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 8_4

vec4 hook()
{
vec4 res = vec4(-0.039826005697250,-0.164091408252716,-0.368589937686920,-0.230655804276466);
res += mat4(-0.034039326012135,-0.080301336944103,0.027564261108637,0.009152800776064,-0.011977044865489,-0.082642331719398,0.003982883878052,-0.041752830147743,0.030328124761581,-0.083106294274330,0.046981338411570,-0.042969457805157,-0.021038582548499,0.006389610935003,-0.020869325846434,-0.035015936940908) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.017697662115097,0.048811096698046,-0.010199174284935,0.009466814808547,-0.172917097806931,-0.106807529926300,-0.071171753108501,-0.039459452033043,0.040272485464811,0.212229236960411,-0.057244542986155,-0.018748480826616,0.096563823521137,0.076532982289791,-0.043207373470068,0.123862825334072) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.024548301473260,-0.009223333559930,-0.006972717586905,-0.014495252631605,-0.024680633097887,-0.038130942732096,-0.043648134917021,-0.036512553691864,-0.064807116985321,-0.078166812658310,0.001778610050678,-0.070899188518524,-0.042799811810255,-0.090545728802681,-0.029745334759355,-0.077962033450603) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.062278646975756,-0.006028165575117,0.064797319471836,0.020638952031732,-0.014183962717652,0.059770695865154,-0.031573832035065,-0.051036935299635,0.004553039558232,0.008895210921764,0.051365595310926,-0.002285689581186,0.002283098641783,0.104056857526302,-0.031871922314167,-0.024344366043806) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.126853764057159,0.093613356351852,-0.409655928611755,-0.304746657609940,0.251223415136337,-0.163515895605087,0.085672892630100,0.003511412302032,-0.112390287220478,0.008281111717224,0.016690887510777,-0.091755539178848,-0.308604627847672,-0.122777797281742,-0.004707405809313,0.134689465165138) * MODEL1_texOff(vec2(0,0));
res += mat4(0.004858659114689,-0.002143138088286,0.053873274475336,0.014966849237680,-0.202172860503197,0.112344995141029,0.323817133903503,-0.042950335890055,0.177934437990189,-0.020907517522573,-0.283845037221909,0.094135239720345,0.032605852931738,-0.005078468937427,0.006223686505109,-0.124884083867073) * MODEL1_texOff(vec2(0,1));
res += mat4(0.003244863124564,-0.006406446453184,0.017746042460203,-0.012695195153356,-0.038998790085316,-0.066139116883278,-0.035358425229788,-0.062430031597614,-0.042027205228806,0.021857654675841,-0.015139650553465,-0.029922779649496,0.057777695357800,-0.014355354942381,-0.008093041367829,0.035107947885990) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.015438008122146,0.016790250316262,-0.046153210103512,0.056739170104265,-0.013449940830469,-0.014638737775385,-0.011876248754561,0.017266161739826,-0.030965099111199,0.019783316180110,0.037072233855724,0.092984452843666,0.039121922105551,-0.029833333566785,0.037280302494764,-0.029709475114942) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.010359741747379,0.025696616619825,0.014261057600379,0.018452314659953,0.009542814455926,-0.037930916994810,-0.055407904088497,-0.022767057642341,-0.011128630489111,0.045221056789160,-0.054624229669571,-0.006486609578133,0.040481470525265,0.027479339390993,0.019753037020564,-0.077281720936298) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.044735945761204,0.016944279894233,-0.013299583457410,-0.026294259354472,-0.188772022724152,-0.118083059787750,-0.008623968809843,-0.023422112688422,-0.032026540488005,0.053917299956083,-0.017842981964350,-0.009430848062038,-0.054303098469973,-0.100836433470249,-0.011814524419606,-0.136189356446266) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.109854549169540,-0.115342035889626,-0.076921947300434,0.206672355532646,0.116965457797050,0.129908978939056,-0.056972213089466,0.275498479604721,-0.137836098670959,-0.001633719541132,0.051883637905121,0.030433634296060,0.107541672885418,-0.004694998264313,-0.098725356161594,0.004754942376167) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.007081444375217,0.039378188550472,-0.128263488411903,-0.057332087308168,0.002732896478847,0.064953461289406,0.104080729186535,0.107139199972153,-0.014995888806880,0.025225881487131,-0.007388452067971,0.023845627903938,0.059581384062767,0.021145589649677,0.017345834523439,0.078790254890919) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.013888192363083,0.114882916212082,-0.018736742436886,-0.140765815973282,0.022578634321690,0.035246700048447,0.042471054941416,0.022678138688207,0.102124117314816,-0.020311785861850,0.045077029615641,0.142320394515991,0.084891490638256,-0.085148498415947,0.000485384050990,-0.038623280823231) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.001374417799525,0.276791423559189,-0.041093010455370,0.107888683676720,0.351976841688156,0.200622022151947,-0.058838300406933,-0.135748162865639,0.228319182991982,0.030955204740167,-0.081052251160145,-0.255644232034683,-0.283487468957901,0.106363311409950,-0.315431952476501,-0.161692976951599) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.012114945799112,-0.128171205520630,-0.115558408200741,0.163272663950920,-0.201958388090134,0.074447020888329,0.105435147881508,0.198263049125671,0.009718474932015,0.005061069969088,0.025755239650607,-0.039737943559885,0.126608654856682,-0.023952951654792,0.074829876422882,-0.024889720603824) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.092168867588043,-0.047391146421432,0.021840300410986,0.036918383091688,0.026287611573935,0.040044385939837,0.021399797871709,0.011413570493460,-0.016972940415144,-0.032142449170351,0.017869248986244,-0.067957691848278,0.048364840447903,-0.002441749908030,0.083642542362213,-0.105335220694542) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.192317426204681,0.019090473651886,-0.046628095209599,-0.039896421134472,-0.027517896145582,0.122812874615192,-0.047104317694902,0.021410277113318,-0.003482011612505,-0.014713501557708,-0.030045226216316,0.013535370118916,0.052851144224405,-0.058120600879192,-0.108672231435776,-0.019808035343885) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.026496881619096,0.059921834617853,-0.036678131669760,0.052200097590685,-0.036627843976021,0.082821696996689,0.000687354069669,0.052559595555067,-0.044145457446575,0.004662621766329,0.009724823758006,0.060663700103760,-0.001342606148683,-0.034531902521849,-0.073929980397224,-0.008477705530822) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.109672494232655,-0.064827241003513,0.052307669073343,-0.136872947216034,0.004486340098083,-0.116675421595573,0.001657317508943,-0.068129979074001,-0.066453702747822,0.154795914888382,-0.046759691089392,0.038629032671452,0.013595818541944,-0.145781397819519,0.141967311501503,0.029461639001966) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.131879657506943,-0.102215729653835,0.096069209277630,-0.067807100713253,0.048832446336746,-0.081239059567451,-0.132261410355568,0.008087875321507,-0.047884400933981,0.083903305232525,0.092709705233574,0.028122663497925,-0.011365719139576,-0.036510828882456,0.136886715888977,0.094522066414356) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.130291029810905,0.069041319191456,0.311514794826508,0.051809553056955,-0.010770291090012,0.062450606375933,-0.086344130337238,0.097589351236820,0.060412295162678,-0.044087279587984,-0.274384617805481,0.082834504544735,0.015159067697823,0.037028804421425,-0.177399843931198,-0.030467772856355) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.188326820731163,-0.105898760259151,-0.031819939613342,0.116863399744034,0.003836316755041,0.057930633425713,0.008317979052663,-0.048501085489988,-0.154676824808121,0.126041218638420,-0.130060687661171,-0.095512442290783,0.201395660638809,-0.039298292249441,0.089908488094807,0.158512949943542) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.352085560560226,0.060749504715204,0.000670381181408,-0.047794066369534,0.003130096942186,-0.186199888586998,-0.053762871772051,-0.180480197072029,-0.230027645826340,-0.185080289840698,-0.040212742984295,-0.041324343532324,-0.056044090539217,0.242626309394836,0.267550319433212,-0.228032708168030) * MODEL3_texOff(vec2(0,0));
res += mat4(0.067099019885063,0.034251488745213,0.071878083050251,-0.087465465068817,0.021987715736032,0.167116224765778,0.113270513713360,-0.048740733414888,0.110865712165833,-0.003282674355432,-0.252970457077026,-0.030895134434104,-0.019404882565141,-0.043121941387653,-0.126987695693970,0.090443558990955) * MODEL3_texOff(vec2(0,1));
res += mat4(0.041552994400263,-0.023491885513067,0.007846544496715,0.006336928345263,-0.018683694303036,-0.007889934815466,-0.009980790317059,0.101380348205566,-0.015129815787077,0.084084495902061,0.054806824773550,0.076755143702030,-0.030938662588596,0.146145686507225,0.012179065495729,-0.032530702650547) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.037498358637094,-0.012184250168502,0.133561998605728,-0.040547125041485,0.023113096132874,0.028253603726625,-0.010395294986665,-0.074119359254837,0.015623474493623,-0.071032315492630,-0.008985326625407,0.192595571279526,-0.041766602545977,-0.060189228504896,0.034435179084539,0.122852660715580) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.041674729436636,-0.000307351117954,0.124199718236923,-0.069294996559620,-0.004098054952919,0.096437163650990,0.102897651493549,0.110127091407776,0.015124068595469,0.007101739756763,-0.101239658892155,0.053611315786839,-0.014200938865542,0.006981611251831,-0.075455881655216,-0.053111188113689) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.058521598577499,0.013701881282032,-0.037961952388287,-0.048056274652481,0.049192443490028,0.055454760789871,-0.008914075791836,-0.043169680982828,0.092106319963932,0.017265213653445,-0.055570632219315,0.039920073002577,0.075506433844566,0.054176308214664,0.000305123743601,0.059389509260654) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.263754248619080,0.004839722067118,-0.026382921263576,-0.061275780200958,-0.078641921281815,-0.038956716656685,0.036226879805326,0.120583005249500,-0.117533206939697,0.413747400045395,-0.016315756365657,0.137312844395638,0.132782593369484,-0.064172744750977,-0.111340284347534,-0.107957214117050) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.020584110170603,-0.076711334288120,0.166173711419106,-0.086554795503616,0.014247574843466,0.007036861497909,0.009247558191419,-0.073353633284569,-0.041999120265245,-0.137472718954086,0.085233643651009,-0.110915340483189,0.008483689278364,-0.036727420985699,-0.118466943502426,-0.097404830157757) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.024127868935466,-0.002787188393995,-0.036928631365299,0.132168576121330,-0.095148511230946,-0.075152680277824,-0.121356964111328,-0.141127407550812,-0.032678518444300,-0.095243446528912,-0.020715681836009,0.054102163761854,-0.101726204156876,0.109016776084900,0.025630021467805,-0.093080662190914) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.283279329538345,0.015663160011172,-0.215871825814247,-0.050048749893904,0.046937394887209,-0.184945672750473,-0.286170631647110,-0.287232100963593,-0.112172052264214,-0.172512114048004,0.049080595374107,0.342445492744446,-0.051810506731272,0.139419957995415,-0.030488202348351,0.084454990923405) * MODEL4_texOff(vec2(0,0));
res += mat4(0.303718537092209,0.002948431996629,-0.223305165767670,0.026490407064557,0.033074475824833,-0.165823414921761,-0.193527147173882,0.113710574805737,0.223264053463936,0.116570264101028,0.142823621630669,0.121481329202652,-0.070286758244038,-0.169804245233536,-0.099389411509037,-0.039598386734724) * MODEL4_texOff(vec2(0,1));
res += mat4(0.016402333974838,0.014127839356661,-0.045655589550734,-0.017398152500391,0.017496377229691,-0.002879255218431,0.052870381623507,0.041752401739359,-0.024357464164495,0.031300611793995,0.034440781921148,0.023539248853922,-0.077755510807037,0.106309048831463,0.018378650769591,0.025239579379559) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.027207164093852,-0.006690275855362,0.071257941424847,0.010245721787214,0.015045281499624,-0.115961447358131,-0.046239521354437,0.063406787812710,0.099832765758038,-0.031588587909937,-0.011944998055696,-0.029825961217284,0.105399511754513,0.158248066902161,-0.052191339433193,0.005336556583643) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.057248372584581,0.045247551053762,-0.001830246299505,0.019795708358288,-0.016624756157398,-0.020365778356791,-0.081621892750263,-0.118055075407028,-0.111855365335941,0.028002303093672,0.065574347972870,0.041808061301708,-0.092806249856949,-0.075930580496788,-0.081920638680458,0.074856705963612) * MODEL4_texOff(vec2(1,1));
res += mat4(0.027541594579816,0.063794270157814,-0.003017030889168,0.078835420310497,0.002425215207040,-0.136253893375397,0.054541140794754,-0.008156326599419,0.047507040202618,-0.067984268069267,0.049396313726902,0.011753312312067,0.060871142894030,0.101555265486240,0.031214755028486,0.130226492881775) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.069237336516380,0.121749430894852,-0.101914837956429,-0.042406495660543,0.039846640080214,0.044815029948950,-0.047787394374609,-0.045498397201300,0.113453887403011,0.055880688130856,-0.014465744607151,-0.048436354845762,0.301250427961349,-0.157179996371269,0.075251653790474,-0.240814819931984) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.017962770536542,-0.041469283401966,-0.096474401652813,-0.096955642104149,-0.021130470559001,0.030287960544229,0.084157116711140,0.046023674309254,-0.009262550622225,0.033152312040329,-0.100839480757713,0.028722569346428,-0.018230589106679,0.077735088765621,0.045091692358255,0.103442437946796) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.034749403595924,0.110044449567795,0.115894556045532,-0.126574113965034,0.057947166264057,0.113575138151646,-0.034076854586601,0.053720604628325,0.006941793020815,0.116103582084179,0.054974865168333,0.020358201116323,0.012733731418848,0.082583211362362,0.064984142780304,-0.009417428635061) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.324875891208649,0.218280881643295,0.121151156723499,0.027245746925473,0.116480983793736,-0.315103083848953,-0.119864247739315,-0.096975967288017,-0.192356094717979,0.047626383602619,0.160522386431694,0.181990176439285,-0.053787004202604,-0.035867672413588,-0.011915839277208,-0.087803415954113) * MODEL5_texOff(vec2(0,0));
res += mat4(0.139211654663086,-0.120333254337311,-0.062944196164608,0.022724149748683,-0.057557020336390,0.174770981073380,0.159591197967529,-0.060646831989288,0.000967982050497,0.001982799498364,0.026621872559190,0.066743530333042,0.038250114768744,0.017990898340940,0.044132374227047,0.048574496060610) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.034994840621948,-0.013902444392443,-0.042789395898581,0.062410634011030,-0.078253649175167,0.079393163323402,-0.076635465025902,-0.108120545744896,-0.042520690709352,0.058636959642172,0.044085212051868,0.042668186128139,0.038232326507568,0.006244898773730,0.027678197249770,0.062616385519505) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.055201951414347,0.033184368163347,-0.002238594228402,-0.102675557136536,-0.019244827330112,-0.055522248148918,0.028786458075047,0.133853808045387,0.112575069069862,-0.108572028577328,-0.054989192634821,0.028639808297157,-0.099928155541420,-0.045114461332560,0.036590471863747,-0.062802992761135) * MODEL5_texOff(vec2(1,0));
res += mat4(0.019875288009644,0.011729875579476,-0.044903881847858,-0.072175294160843,-0.031495131552219,-0.037078589200974,0.017960879951715,0.020278481766582,0.001502573490143,0.064975760877132,-0.063035130500793,0.047741547226906,-0.005118212196976,0.034291893243790,0.002956232056022,-0.055000167340040) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.127412885427475,-0.108022712171078,0.017819870263338,0.037294443696737,0.048666898161173,0.003250549780205,-0.024984870105982,0.143595442175865,-0.009810565970838,-0.098806016147137,0.084639318287373,-0.094608597457409,0.010277365334332,-0.020367166027427,-0.054802063852549,-0.139981567859650) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.101292125880718,0.041341893374920,-0.116563059389591,0.037920739501715,0.185518667101860,-0.133558630943298,-0.030979484319687,-0.110744766891003,0.124626524746418,-0.015790758654475,0.083416007459164,-0.044831436127424,-0.140694424510002,-0.109015017747879,0.044733677059412,-0.095352903008461) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.030551472678781,-0.051747016608715,-0.192558825016022,0.069222271442413,-0.006446882151067,0.059681508690119,-0.040851376950741,0.095070689916611,0.014874106273055,0.044246219098568,-0.003961452282965,0.095433436334133,0.000476212531794,-0.019148388877511,-0.024510266259313,-0.129788130521774) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.041900049895048,-0.184255555272102,0.097466699779034,0.066076695919037,-0.007122092414647,-0.146334633231163,0.039525192230940,0.009953993372619,0.094546064734459,0.127364233136177,0.055150125175714,-0.036912847310305,-0.020149670541286,-0.063689224421978,0.021694121882319,0.000701435666997) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.038508292287588,-0.083940796554089,0.135268062353134,-0.065470807254314,-0.056502528488636,0.141916230320930,-0.009594906121492,0.204755827784538,-0.124805398285389,-0.201756298542023,0.349038779735565,0.025499504059553,0.031220097094774,0.047416117042303,0.001531501766294,-0.077157549560070) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.028481068089604,0.010485813021660,0.110905773937702,-0.009025320410728,-0.103137090802193,0.024958705529571,0.052901182323694,0.053856972604990,-0.074010990560055,0.120454631745815,0.102602414786816,-0.023379376158118,-0.017666542902589,-0.101897217333317,-0.086287602782249,0.015513231046498) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.078641422092915,-0.029437188059092,-0.100064180791378,-0.006195025984198,0.072479747235775,0.010681567713618,-0.019538480788469,-0.040546022355556,0.004633438307792,-0.094714939594269,-0.052482921630144,-0.012845217250288,0.030742730945349,0.109172508120537,-0.012067004106939,0.065857350826263) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.091699287295341,0.010438979603350,0.013656524941325,0.038991816341877,-0.189997419714928,-0.143037587404251,-0.035336185246706,0.075467877089977,0.086516030132771,-0.060484547168016,0.108124017715454,-0.105044245719910,-0.016780762001872,0.006987642962486,0.104294776916504,0.061924465000629) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.013354270718992,-0.033340316265821,-0.026339916512370,0.052746299654245,0.096173912286758,-0.015287324786186,0.006876660510898,0.027437446638942,-0.031115712597966,0.012410962022841,0.061351172626019,-0.037514012306929,-0.014776569791138,0.003237408120185,-0.104878984391689,0.010910497047007) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.955060422420502,0.003782673971727,0.015099477022886,0.050670914351940) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 8_5

vec4 hook()
{
vec4 res = vec4(-0.342990487813950,-0.298623800277710,-0.215316712856293,0.025039259344339);
res += mat4(0.046072199940681,0.004440773278475,0.027380192652345,0.004913188982755,0.037592165172100,0.015820393338799,-0.046722386032343,-0.062869444489479,0.127277120947838,0.020772712305188,-0.025968005880713,-0.000959905795753,0.015248452313244,0.229741543531418,0.041373066604137,0.049042057245970) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.016689963638783,0.052466072142124,-0.053879108279943,-0.007519189268351,0.001777611090802,0.047975800931454,0.032190788537264,-0.103530317544937,-0.094033934175968,0.151178345084190,0.014720703475177,0.008921513333917,-0.051873430609703,0.331171303987503,0.029193438589573,0.058050237596035) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.033308357000351,0.057083379477262,-0.047180216759443,0.016871180385351,-0.028564233332872,-0.025590915232897,-0.139373138546944,0.016001353040338,0.042108505964279,0.049282614141703,0.020717583596706,-0.022834898903966,0.001958440057933,0.174668669700623,-0.223839595913887,0.011406878940761) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.114461846649647,-0.336406260728836,0.005749518983066,-0.040803696960211,-0.144189417362213,0.064195178449154,0.028719766065478,0.069031648337841,0.065766163170338,-0.014183687046170,0.010564199648798,-0.087019242346287,-0.043253913521767,-0.176957696676254,0.034852471202612,-0.023670127615333) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.111331559717655,-0.200386762619019,-0.197760760784149,0.012448730878532,0.088940933346748,0.234235078096390,0.090572662651539,0.111805804073811,-0.009991965256631,-0.037593543529510,0.051105819642544,0.090991318225861,-0.020372701808810,-0.097584076225758,-0.220854416489601,-0.154751092195511) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.022407056763768,-0.015745740383863,-0.033832542598248,0.060312580317259,0.092807196080685,0.002135282848030,0.158891171216965,-0.005838648881763,-0.038062795996666,0.045102048665285,0.072407893836498,0.057424124330282,-0.012875916436315,-0.060253191739321,-0.030005738139153,-0.027809120714664) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.062189783900976,0.025509631261230,-0.027012176811695,-0.002210085513070,-0.003701308742166,-0.022808756679296,-0.098406799137592,-0.037287592887878,-0.013894118368626,0.007885733619332,-0.038748770952225,0.026405911892653,0.010881777852774,-0.005731400568038,0.004616969265044,0.005763385444880) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.015651233494282,-0.007552051916718,0.060966063290834,-0.014021853916347,-0.001237329444848,0.085407190024853,0.026905639097095,-0.129700899124146,0.079094521701336,0.048059355467558,-0.028398362919688,0.021382961422205,-0.041938241571188,-0.009890763089061,-0.016047189012170,0.103575170040131) * MODEL1_texOff(vec2(1,0));
res += mat4(0.038169961422682,-0.008526001125574,0.046233478933573,-0.020876152440906,-0.052871994674206,0.021674735471606,-0.011115231551230,-0.007142779417336,-0.011513058096170,-0.007336885668337,0.113046996295452,-0.007887839339674,0.051036328077316,-0.002889719558880,0.013365524820983,0.030148878693581) * MODEL1_texOff(vec2(1,1));
res += mat4(0.001750482246280,-0.035553466528654,0.019792519509792,0.024701245129108,-0.111690886318684,-0.054493047297001,-0.009952194988728,0.080873519182205,0.013905764557421,0.004253610968590,-0.061093032360077,-0.015649918466806,-0.031053842976689,-0.071205861866474,-0.054071798920631,0.064864940941334) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.043168306350708,-0.151693180203438,-0.027634363621473,-0.192534729838371,-0.020692845806479,0.388886094093323,-0.018686400726438,0.075843818485737,-0.013749890029430,0.080953411757946,0.003079146379605,-0.051175113767385,-0.037598617374897,-0.108856454491615,0.023821329697967,0.104334115982056) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.075542964041233,-0.102220520377159,0.111900053918362,0.000103257269075,0.111791402101517,0.044654853641987,-0.016304725781083,-0.097460106015205,-0.015536645427346,-0.099443443119526,0.001031833235174,-0.015234075486660,-0.046141128987074,0.032609801739454,0.095526456832886,0.041183520108461) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.022356592118740,-0.042999844998121,-0.016084324568510,-0.134110271930695,-0.050340577960014,0.038495369255543,-0.077768318355083,0.044515516608953,0.111566245555878,0.333894819021225,-0.007598359603435,0.034323666244745,-0.036456298083067,0.166666224598885,-0.141528502106667,-0.031337704509497) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.126954495906830,0.056237984448671,0.304173707962036,0.270932137966156,-0.057490911334753,0.009213461540639,0.031670108437538,-0.112901598215103,-0.113960087299347,0.410551160573959,0.250209152698517,0.115306317806244,0.064933113753796,0.298536300659180,-0.045804355293512,-0.066687002778053) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.032358661293983,0.119436569511890,0.023944392800331,0.025178460404277,0.070371650159359,-0.108274906873703,0.076480463147163,-0.062971390783787,0.019134411588311,0.149258837103844,-0.012703042477369,0.031173372641206,0.071451000869274,-0.053738240152597,0.138325512409210,-0.177513957023621) * MODEL2_texOff(vec2(0,1));
res += mat4(0.013446883298457,0.073853388428688,-0.010778889991343,0.081854842603207,-0.041238386183977,-0.005817849189043,0.015815187245607,-0.030566697940230,0.023430055007339,0.081853888928890,0.097171053290367,-0.020853497087955,-0.089825876057148,-0.076958313584328,-0.031042253598571,0.089092887938023) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.026572698727250,0.044022131711245,0.051071621477604,-0.135590150952339,0.004071284085512,-0.009445726871490,0.041572015732527,-0.067860461771488,-0.035244509577751,0.195582598447800,0.166533991694450,-0.092244371771812,-0.003931410610676,-0.126541316509247,-0.123949393630028,0.044360000640154) * MODEL2_texOff(vec2(1,0));
res += mat4(0.007815678603947,-0.003435964230448,-0.018922440707684,-0.045552249997854,-0.016044203191996,0.003536035772413,0.017612323164940,0.006213691085577,0.018863344565034,-0.006235538516194,0.024942742660642,-0.032316498458385,-0.021400067955256,0.071033075451851,-0.001940442016348,0.005684420932084) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.139557361602783,-0.016168767586350,0.072054788470268,0.120566286146641,0.032654684036970,-0.013720322400331,-0.090999104082584,0.026134381070733,0.059207692742348,-0.087003484368324,0.026944691315293,-0.008561626076698,0.165825232863426,0.095893070101738,0.023118557408452,-0.013863161206245) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.193131059408188,-0.016005871817470,-0.083435155451298,0.114506497979164,-0.123374506831169,0.044694896787405,0.035865057259798,0.063093863427639,-0.390854001045227,-0.051576972007751,0.040340840816498,0.086502283811569,0.100651890039444,0.015952544286847,0.082012891769409,-0.059745967388153) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.177169546484947,0.030167602002621,0.081835098564625,-0.078013688325882,0.183741286396980,0.132369279861450,0.082838669419289,0.056498784571886,-0.135090738534927,0.042996961623430,0.043992113322020,0.067781411111355,-0.023883294314146,0.007509233430028,0.046318195760250,-0.007350480183959) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.074810735881329,0.051996544003487,0.018525883555412,0.170634299516678,-0.056730300188065,0.004648024216294,0.073202282190323,-0.036916114389896,0.123265355825424,0.039872124791145,0.009480861015618,-0.082853212952614,-0.039994031190872,0.035280819982290,0.006439777556807,-0.096906840801239) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.147066429257393,-0.133531436324120,-0.010064409114420,-0.078329175710678,-0.392897397279739,-0.036568719893694,-0.226405024528503,-0.105565138161182,-0.192466929554939,0.045578118413687,0.017731174826622,0.161425516009331,0.093160346150398,0.045128185302019,-0.030173987150192,-0.120476916432381) * MODEL3_texOff(vec2(0,0));
res += mat4(0.055348336696625,0.052788276225328,-0.190871968865395,-0.159113317728043,0.229988917708397,0.090359501540661,-0.116456493735313,-0.022605620324612,0.078117549419403,0.026963951066136,0.115629523992538,0.057265650480986,0.052174657583237,0.123526535928249,0.001756504760124,0.046789620071650) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.004725299309939,-0.002167728263885,0.005603545345366,-0.050041586160660,0.025115480646491,-0.045250788331032,-0.024275049567223,0.028723703697324,0.120574034750462,0.021959630772471,-0.009427714161575,0.036503236740828,-0.015577341429889,0.036533229053020,0.062389548867941,0.008148577995598) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.106883503496647,0.011447108350694,-0.011157766915858,0.005647084210068,0.100067153573036,0.072957247495651,0.084896996617317,0.024252332746983,-0.157167911529541,0.059899017214775,0.109373301267624,0.065108194947243,0.002453711582348,0.061806045472622,0.019349990412593,0.002371770562604) * MODEL3_texOff(vec2(1,0));
res += mat4(0.038561146706343,0.004476002883166,0.088152088224888,-0.002170564373955,0.091020032763481,0.069749303162098,0.108304955065250,0.001842815312557,0.030360976234078,-0.009316566400230,0.041385397315025,0.002377903088927,0.052275523543358,-0.021218419075012,0.086350679397583,-0.018002690747380) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.001991956261918,-0.083535522222519,-0.006439238786697,0.044255871325731,-0.030263872817159,-0.048747584223747,-0.005585802253336,-0.001072080340236,-0.014812139794230,0.043856203556061,0.029340200126171,-0.069115631282330,-0.001911890693009,0.008447845466435,-0.035714663565159,-0.024712128564715) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.138844102621078,0.113956041634083,-0.093959152698517,0.111371159553528,-0.053246807307005,-0.101327903568745,-0.157213151454926,-0.014737515710294,-0.095563657581806,-0.042858492583036,0.035047058016062,-0.024597572162747,0.048053849488497,-0.016567805781960,0.000365972402506,-0.024919411167502) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.093666888773441,0.071068152785301,-0.010408004745841,0.022088646888733,-0.005629458464682,0.097086943686008,-0.028130112215877,0.011262735351920,-0.215504080057144,-0.060519538819790,-0.136374875903130,0.056790731847286,-0.121662691235542,-0.043131876736879,0.019760368391871,0.024469329044223) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.094322942197323,-0.085457846522331,0.023595403879881,-0.064125359058380,0.027486527338624,-0.031672298908234,-0.016805419698358,-0.013003224506974,-0.018679548054934,-0.025939391925931,-0.035215429961681,0.053674861788750,0.072304457426071,-0.022759079933167,-0.100322268903255,-0.088145032525063) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.126746490597725,-0.210361510515213,0.002828413853422,-0.141416862607002,-0.092527173459530,-0.038243219256401,-0.012512209825218,0.138417929410934,-0.197117745876312,-0.235077649354935,-0.459976941347122,0.114918127655983,0.172558754682541,-0.092443399131298,-0.090744651854038,0.260881036520004) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.119917660951614,-0.062616705894470,-0.019369542598724,0.018755963072181,-0.112721271812916,-0.038375057280064,0.181391462683678,-0.062061909586191,-0.079358674585819,-0.019756790250540,0.209987476468086,0.009946983307600,-0.239804565906525,0.066325917840004,-0.045495599508286,0.278906166553497) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.053292803466320,0.097384370863438,0.027515051886439,-0.013694231398404,-0.000805299147032,0.020157637074590,-0.030069554224610,-0.007575930096209,0.000322196923662,0.010544691234827,-0.013822683133185,-0.009419194422662,0.030161699280143,-0.040435601025820,0.024880805984139,-0.021102700382471) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.022650107741356,0.001113379374146,0.001385026145726,0.077405378222466,-0.058656595647335,0.050233125686646,-0.064570970833302,-0.026748761534691,-0.119533523917198,0.000859450898133,-0.006712415255606,-0.040354393422604,0.019806023687124,-0.140382975339890,-0.074202470481396,-0.272573143243790) * MODEL4_texOff(vec2(1,0));
res += mat4(0.065146788954735,-0.040672328323126,-0.075084276497364,-0.033265728503466,-0.019116535782814,0.040893103927374,-0.043613001704216,0.017769165337086,-0.061229020357132,0.004439447075129,-0.063944451510906,-0.028340987861156,-0.069808855652809,-0.059367183595896,-0.019934711977839,0.020440826192498) * MODEL4_texOff(vec2(1,1));
res += mat4(0.031136125326157,0.029503744095564,-0.028819205239415,-0.021586144343019,0.086718253791332,-0.102923631668091,-0.067046828567982,-0.031706012785435,0.031060371547937,-0.104558117687702,0.034620955586433,0.005981288850307,0.026467578485608,0.080418415367603,0.235605359077454,-0.021482616662979) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.157720148563385,-0.028565805405378,0.067925065755844,-0.007323885336518,0.006814411375672,0.053918212652206,0.202078193426132,-0.060463890433311,0.009786858223379,-0.110358856618404,0.115632779896259,0.030057275667787,0.114623673260212,0.351563215255737,0.143954694271088,0.132404088973999) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.149799212813377,0.059012852609158,-0.050907745957375,0.016117610037327,0.104476243257523,0.005955546163023,0.110267952084541,-0.069256260991096,-0.035953242331743,0.007611731998622,0.068376809358597,0.023155130445957,0.006060975138098,0.031245630234480,0.162237048149109,0.011671781539917) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.124598890542984,-0.044080648571253,-0.007444576825947,-0.165615439414978,-0.010726518929005,-0.033749829977751,0.002246947959065,-0.284142017364502,-0.054216485470533,0.008560555055737,0.155827164649963,-0.044794719666243,0.079226203262806,-0.014222276397049,0.058513570576906,0.006290715653449) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.439260631799698,-0.046707998961210,-0.268780350685120,0.017146944999695,-0.296189129352570,0.062639035284519,-0.065918348729610,0.440012991428375,0.031965322792530,-0.374570131301880,-0.268055170774460,-0.120975233614445,-0.010157980024815,0.000329316535499,-0.023164678364992,-0.217321276664734) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.055564314126968,-0.020374124869704,-0.107617989182472,0.034551538527012,0.197036027908325,-0.071001559495926,0.071185499429703,-0.136748969554901,0.008220973424613,0.050179440528154,-0.036147978156805,-0.026704756543040,0.048557911068201,-0.098039537668228,-0.103924006223679,-0.038712162524462) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.003858725307509,-0.007113872095942,0.010674524120986,0.040638897567987,-0.108996406197548,-0.027045812457800,0.003957449458539,-0.016953881829977,0.029216729104519,0.107047453522682,0.130221739411354,0.030955573543906,0.014711462892592,0.028123350813985,0.024229399859905,-0.010951620526612) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.041891936212778,0.024282783269882,0.053051445633173,0.049300044775009,0.040246862918139,-0.096839040517807,-0.036931257694960,-0.117496363818645,-0.028414772823453,-0.001136652310379,0.214913517236710,0.112402141094208,-0.020125560462475,0.040856000036001,-0.036652091890574,0.087362959980965) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.022135255858302,0.014975112862885,-0.006924828048795,-0.022172076627612,-0.024935761466622,0.057664271444082,-0.089805081486702,0.014485140331089,0.002120193792507,0.086222231388092,0.142672866582870,0.034670002758503,0.035992015153170,0.026732692494988,-0.019642086699605,0.017472041770816) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.014175216667354,0.068645179271698,-0.110012121498585,-0.029017277061939,-0.003290219232440,0.033086340874434,0.032429475337267,0.050526604056358,0.032892528921366,-0.163903489708900,-0.028844311833382,-0.056908752769232,-0.129777431488037,-0.256344825029373,-0.012984653934836,-0.023566167801619) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.102238871157169,-0.033570032566786,0.153434857726097,0.051435444504023,-0.049816738814116,-0.092030867934227,0.174320802092552,0.216840520501137,0.062563963234425,-0.054913312196732,0.039000708609819,-0.002302925102413,-0.078054301440716,-0.092766299843788,-0.204171940684319,-0.054161231964827) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.184551224112511,-0.090130738914013,0.005969434976578,0.027698190882802,0.006118282210082,-0.107957303524017,-0.034284308552742,-0.009639594703913,-0.010304945521057,0.038399271667004,0.003328018588945,0.024978438392282,-0.055880844593048,-0.085023052990437,-0.095297463238239,-0.016282087191939) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.052016422152519,-0.139567732810974,-0.158390939235687,-0.017864191904664,0.029377369210124,-0.067351765930653,0.080133982002735,0.001248155371286,-0.024570958688855,-0.018461141735315,-0.049531240016222,0.038085423409939,0.021558463573456,-0.106791771948338,0.002075188560411,0.060668740421534) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.005610231775790,0.092317804694176,-0.057306386530399,0.073979027569294,-0.082823164761066,-0.091926112771034,0.277775585651398,-0.341865241527557,-0.186454132199287,-0.238139927387238,0.037234976887703,-0.114249482750893,-0.065209828317165,-0.194409102201462,0.059537455439568,0.098630413413048) * MODEL6_texOff(vec2(0,0));
res += mat4(0.080798432230949,0.023026280105114,-0.016128879040480,0.006781342439353,0.101281143724918,-0.051797103136778,0.097454145550728,-0.020778303965926,0.177007913589478,-0.026424525305629,0.077987506985664,-0.005660967901349,-0.066233903169632,-0.020031560212374,-0.132574930787086,-0.013117529451847) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.070407636463642,-0.002930126152933,0.001869271276519,0.047749236226082,0.004483427852392,-0.034219589084387,-0.044172890484333,-0.016487045213580,0.005895824171603,-0.060556516051292,-0.030580367892981,0.039600342512131,0.040747642517090,-0.008736927993596,0.027027072384953,-0.042348600924015) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.009273547679186,-0.036933243274689,0.097486875951290,-0.058565631508827,-0.016872409731150,-0.025493070483208,-0.091946989297867,0.172273874282837,-0.066238276660442,-0.050099212676287,0.029372408986092,-0.016699984669685,-0.008904362097383,0.061131224036217,0.033180464059114,0.003915026783943) * MODEL6_texOff(vec2(1,0));
res += mat4(0.030045848339796,0.000483276293380,0.057246305048466,-0.025227939710021,0.006938635371625,0.019136574119329,0.048860874027014,0.086447507143021,0.041596055030823,0.011611185967922,-0.068605944514275,-0.015532795339823,-0.049956347793341,-0.023069338873029,0.055565163493156,0.019322358071804) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.027855174615979,0.015944890677929,0.031541734933853,0.992473363876343) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] mapping 8_6

vec4 hook()
{
vec4 res = vec4(-0.157201468944550,-0.231931731104851,-0.289357483386993,-0.201453164219856);
res += mat4(-0.036705028265715,0.005047430284321,-0.109875030815601,0.126017510890961,-0.014338562265038,0.053562395274639,0.022832380607724,0.008095656521618,-0.020445453003049,0.050564132630825,0.014165787026286,0.003479695180431,-0.002694126684219,0.003496847813949,-0.055683735758066,-0.066384024918079) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.044123627245426,0.024293374270201,-0.053293287754059,0.070801138877869,-0.118814699351788,-0.123339593410492,0.027609743177891,0.008671286515892,0.122043281793594,-0.101100184023380,0.004637429025024,0.146862924098969,0.018716165795922,0.110951252281666,-0.074108265340328,-0.178113758563995) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.078722767531872,-0.020578494295478,-0.032519541680813,0.022199550643563,0.023400995880365,-0.144132331013680,-0.029147196561098,-0.056682828813791,-0.083721883594990,-0.009756741113961,-0.018208580091596,-0.010187979787588,-0.073102705180645,-0.040306098759174,-0.073620252311230,0.075684912502766) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.088539838790894,0.243216589093208,0.044203832745552,-0.507164418697357,-0.056479286402464,0.054040420800447,-0.074718818068504,-0.078789316117764,-0.019935535266995,0.066570580005646,-0.013188065961003,-0.013668022118509,-0.060065180063248,0.061464197933674,0.035811506211758,0.024603975936770) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.277621090412140,-0.087058261036873,0.066860236227512,-0.155494064092636,-0.130475565791130,-0.021871557459235,0.105806939303875,0.140991479158401,0.116950228810310,-0.243336454033852,0.066448345780373,-0.094669736921787,0.009263216517866,-0.231758132576942,-0.066825248301029,0.089491374790668) * MODEL1_texOff(vec2(0,0));
res += mat4(0.105960398912430,-0.030290693044662,-0.002075219526887,-0.019647775217891,-0.015411051921546,-0.010852117091417,0.083454355597496,-0.002102829050273,-0.210659846663475,0.312300354242325,0.108735255897045,0.073641613125801,-0.070174679160118,0.081821538507938,0.000478037109133,0.093857489526272) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.037723224610090,-0.008300674147904,-0.350558757781982,0.045625083148479,0.019692536443472,-0.038023244589567,-0.030296353623271,-0.131541505455971,-0.021851653233171,-0.016441369429231,-0.033666316419840,0.068853750824928,-0.025579206645489,0.055733073502779,0.088857255876064,0.063914619386196) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.014873519539833,-0.076800011098385,-0.498198509216309,0.073069885373116,-0.056037168949842,0.060960482805967,0.211192354559898,-0.226567298173904,0.029908683151007,-0.016682475805283,-0.051274936646223,0.054111763834953,0.021951211616397,-0.019415782764554,-0.047121018171310,0.153671383857727) * MODEL1_texOff(vec2(1,0));
res += mat4(0.012934461236000,0.020965496078134,-0.000351409747964,-0.028009092435241,0.021858617663383,-0.061498779803514,0.099380381405354,-0.122997619211674,-0.004671146627516,0.031560111790895,0.044496942311525,0.015601964667439,0.064228482544422,0.047572169452906,0.045068815350533,-0.040255989879370) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.068045280873775,0.002831207588315,-0.025928089395165,-0.135440692305565,0.082475550472736,-0.093313828110695,-0.002155618509278,0.047306932508945,-0.012150864116848,0.012495640665293,-0.020805638283491,0.064151167869568,0.037011556327343,-0.054255187511444,0.018715523183346,0.033666275441647) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.066851429641247,0.105943650007248,-0.038370057940483,0.039936199784279,-0.101135566830635,0.310624152421951,0.111321792006493,0.156762793660164,-0.090396784245968,-0.002131515182555,0.004111967980862,0.109940141439438,-0.052313860505819,-0.031320046633482,-0.024381460621953,0.066746257245541) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.089483566582203,-0.049709152430296,0.037327520549297,-0.050629768520594,-0.005319763906300,0.173000499606133,0.109595149755478,-0.021710556000471,0.071749329566956,0.005626273807138,-0.006127537228167,-0.056872159242630,-0.050118755549192,-0.012723402120173,0.018398320302367,0.059314556419849) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.047732882201672,0.076006852090359,-0.070568613708019,0.102317333221436,0.019244013354182,0.049365252256393,0.180986359715462,-0.072917237877846,-0.100654713809490,0.121753975749016,0.086092576384544,0.071536011993885,0.116059601306915,-0.073480330407619,0.116661332547665,-0.059280794113874) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.114065185189247,0.039278075098991,0.020182494074106,0.067137107253075,-0.105382777750492,0.131935313344002,0.286502838134766,-0.158154085278511,0.166458487510681,-0.165642514824867,0.161289781332016,0.033788979053497,0.009217965416610,-0.062472637742758,0.092273384332657,0.130204692482948) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.036210987716913,-0.210321366786957,-0.147346422076225,-0.008211767300963,0.199997603893280,0.043539635837078,0.067121073603630,-0.064062379300594,0.025910664349794,0.047473117709160,-0.006672049872577,0.081333145499229,0.076852232217789,-0.119260095059872,0.050056494772434,-0.047489676624537) * MODEL2_texOff(vec2(0,1));
res += mat4(0.033922638744116,-0.027492584660649,0.087783545255661,0.058659460395575,0.002157241106033,0.013120301067829,0.014209760352969,-0.031255207955837,0.134033590555191,-0.061446446925402,0.071407251060009,0.119506239891052,0.125473544001579,-0.077461957931519,-0.097331576049328,-0.022959446534514) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.076818756759167,-0.053563643246889,0.351586312055588,-0.123283781111240,-0.034006547182798,0.064764402806759,-0.015948282554746,-0.058002423495054,-0.170842185616493,0.044523715972900,-0.144259467720985,-0.054700400680304,-0.101346962153912,0.042729265987873,0.059722006320953,-0.188953995704651) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.058701913803816,0.059299349784851,0.029104065150023,0.003231635550037,0.082588233053684,0.103605672717094,-0.040631040930748,-0.067390501499176,0.075685746967793,0.014293598011136,0.089474707841873,0.125296846032143,-0.048373211175203,-0.101402044296265,0.197573810815811,0.060994714498520) * MODEL2_texOff(vec2(1,1));
res += mat4(0.027059722691774,-0.105394363403320,0.003327341284603,0.029589906334877,0.000956489879172,0.057464625686407,-0.018159292638302,0.024117728695273,0.110435903072357,-0.009631663560867,0.058809649199247,0.030168633908033,-0.051336094737053,0.145462289452553,0.025758519768715,-0.001168964197859) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.084976404905319,0.131658211350441,0.033714596182108,-0.039293531328440,-0.104500360786915,-0.082491703331470,-0.024542668834329,0.066257238388062,0.290118068456650,-0.071391455829144,0.002860338194296,0.102300450205803,0.004650860559195,0.014581120572984,0.043868888169527,0.033215533941984) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.228405877947807,0.124233193695545,-0.023937914520502,0.044198997318745,0.175740733742714,0.046312361955643,-0.000371121510398,0.107517369091511,0.125035867094994,0.012029670178890,0.024818576872349,0.033704709261656,-0.120532751083374,-0.000997506780550,-0.007689354475588,0.092221401631832) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.036807585507631,0.092900745570660,0.024318171665072,-0.041483215987682,0.101686887443066,0.108086787164211,0.059439845383167,-0.011528248898685,0.076312318444252,-0.259138315916061,0.078391633927822,0.081817321479321,-0.248082280158997,0.198556423187256,0.037621952593327,-0.029676215723157) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.031759411096573,0.327616691589355,-0.125717505812645,-0.121773377060890,-0.326630085706711,-0.214889928698540,0.035125318914652,0.009085728786886,0.332504451274872,-0.297934353351593,-0.027870725840330,0.103608101606369,-0.033666253089905,0.217421501874924,0.022379232570529,-0.016789957880974) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.212783202528954,0.123362198472023,-0.050455927848816,-0.006474148482084,0.007121578324586,0.032981660217047,0.038981165736914,0.086882449686527,0.109156437218189,-0.054961651563644,-0.051747981458902,0.033103838562965,-0.071960493922234,0.000066121108830,-0.005159911233932,0.046613648533821) * MODEL3_texOff(vec2(0,1));
res += mat4(0.030011350288987,-0.066470496356487,-0.024472907185555,0.122549906373024,0.004544497001916,-0.017691791057587,0.053311076015234,-0.146113008260727,-0.007498324383050,-0.031862944364548,-0.000349423644366,-0.004973725881428,0.068558380007744,0.108968257904053,-0.067042656242847,0.061586424708366) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.076120756566525,0.143849179148674,-0.086951144039631,0.092124335467815,0.021537117660046,0.060955833643675,0.114971891045570,-0.076376132667065,-0.006734395399690,0.061984471976757,0.244010373950005,-0.010379849001765,0.079472050070763,-0.144909128546715,0.073775336146355,0.087204582989216) * MODEL3_texOff(vec2(1,0));
res += mat4(0.078756928443909,-0.028336470946670,0.014146464876831,0.041220337152481,0.186095312237740,-0.024789368733764,0.098754227161407,0.029007483273745,-0.094668947160244,0.074364028871059,0.135583549737930,0.003661042777821,-0.054192915558815,-0.015692271292210,0.102752074599266,0.009521578438580) * MODEL3_texOff(vec2(1,1));
res += mat4(0.066497422754765,-0.056612871587276,-0.020814901217818,-0.053476974368095,0.102108635008335,-0.037467785179615,0.039737686514854,-0.023330453783274,-0.005720421671867,-0.013465687632561,0.026408579200506,-0.001828013453633,0.000156267342390,0.053139869123697,0.033591911196709,-0.072181232273579) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.152542650699615,-0.133148401975632,0.010708975605667,-0.065838269889355,-0.074294641613960,-0.091587409377098,-0.085688240826130,-0.088358879089355,-0.176845341920853,0.026046378538013,-0.048578683286905,-0.069682754576206,-0.054988898336887,-0.050562094897032,0.017429437488317,-0.074051380157471) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.122947819530964,0.026393404230475,0.075443089008331,-0.043769750744104,-0.112952813506126,0.005791359115392,-0.005819413345307,0.000511414720677,-0.003909794613719,-0.091843485832214,-0.018362691625953,0.029894003644586,0.105798773467541,-0.102566532790661,0.013467541895807,-0.033954333513975) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.116249553859234,0.003368685953319,-0.143071696162224,-0.060803692787886,0.167067214846611,-0.215780064463615,0.018790578469634,-0.030726579949260,0.063481137156487,-0.037357632070780,-0.007518045604229,-0.118996664881706,0.079989336431026,0.040376797318459,-0.082560241222382,0.043125130236149) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.008042265661061,-0.127304285764694,-0.286817938089371,-0.004455219022930,-0.349545627832413,-0.225531175732613,0.165685862302780,0.069921538233757,-0.313134968280792,-0.019728798419237,-0.061928328126669,0.089177057147026,-0.121728599071503,0.158618763089180,-0.257451355457306,0.163858026266098) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.094366438686848,0.042581759393215,-0.037758495658636,-0.054003644734621,-0.203645005822182,-0.011392105370760,0.010454316623509,0.073653362691402,0.005697623360902,0.332412093877792,0.039873268455267,-0.000866799498908,0.177604749798775,-0.187715142965317,-0.070825539529324,0.171194314956665) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.014928330667317,0.043413322418928,0.083154670894146,0.051584944128990,0.054823737591505,-0.056583367288113,0.030934734269977,-0.079381398856640,0.004058646038175,0.005212807562202,-0.046288967132568,-0.009925436228514,0.014934182167053,0.087029889225960,-0.050128597766161,-0.020205611363053) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.027753220871091,-0.090664021670818,-0.108464717864990,-0.011300500482321,-0.123226158320904,-0.133149772882462,-0.095604501664639,-0.028839102014899,-0.049216493964195,-0.006102854851633,-0.270680099725723,-0.106061778962612,-0.038595907390118,0.078585773706436,-0.034447122365236,-0.042325001209974) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.028716729953885,-0.057856746017933,-0.328702569007874,-0.093529209494591,-0.108914829790592,-0.099468179047108,0.084470018744469,0.063250966370106,0.167111441493034,0.029451929032803,-0.031901534646749,-0.070915974676609,0.087909765541553,-0.064830139279366,0.012057010084391,-0.043367221951485) * MODEL4_texOff(vec2(1,1));
res += mat4(0.058945622295141,0.107599854469299,-0.023245187476277,-0.024517459794879,0.017220472916961,0.014330183155835,0.028223324567080,-0.109877280890942,0.074336983263493,-0.020154841244221,0.039728298783302,-0.075881816446781,0.022679574787617,0.117696568369865,0.158751308917999,0.244766831398010) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.184861153364182,0.085172519087791,-0.027242181822658,-0.054982390254736,0.044450577348471,0.077658116817474,0.099224075675011,-0.024514099583030,-0.025674872100353,0.126596704125404,0.089445948600769,-0.110224962234497,0.020318826660514,0.008579815737903,0.201967671513557,0.320715636014938) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.029115468263626,-0.053191244602203,-0.001454305252992,0.085450634360313,0.051113154739141,0.096692949533463,0.059895455837250,-0.057238519191742,0.047689747065306,0.014631841331720,0.049985665827990,-0.039399184286594,0.071847125887871,-0.045690890401602,0.096391208469868,0.028272496536374) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.096578553318977,0.024677960202098,0.028270462527871,0.011527709662914,-0.152324557304382,0.177029371261597,-0.047119632363319,0.074839442968369,0.046743277460337,0.072943061590195,-0.087134011089802,0.228461533784866,0.098972477018833,0.068214915692806,0.061686459928751,-0.042963720858097) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.261834025382996,-0.024841949343681,-0.088587440550327,-0.206624805927277,0.222055286169052,-0.145063996315002,-0.149492621421814,0.158664137125015,0.078619733452797,-0.008216360583901,-0.056100472807884,0.369266748428345,-0.059307459741831,0.048184856772423,0.342575192451477,-0.135165169835091) * MODEL5_texOff(vec2(0,0));
res += mat4(0.137001603841782,-0.091066151857376,0.065418772399426,-0.074960686266422,0.030965829268098,0.061831165105104,-0.016245042905211,0.032746862620115,0.056264251470566,0.034906007349491,-0.052480857819319,0.008536717854440,-0.012591211125255,-0.048466544598341,-0.033878978341818,0.003916109912097) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.086849309504032,-0.018471648916602,-0.052183598279953,-0.071939088404179,-0.029457604512572,0.022507840767503,-0.101093396544456,0.009004087187350,0.066436439752579,0.011496706865728,0.064859949052334,0.162343487143517,-0.015179260633886,0.029322575777769,-0.021984603255987,0.034488067030907) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.121344521641731,-0.020067311823368,-0.006971725262702,0.067448571324348,-0.104292251169682,-0.104818604886532,0.039298284798861,-0.004588366020471,0.082468375563622,0.010946927592158,0.261346340179443,0.183685958385468,0.057582259178162,-0.052607458084822,-0.025350974872708,0.027642061933875) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.029459711164236,0.074071660637856,-0.178137093782425,0.010943352244794,-0.078208453953266,-0.118919119238853,0.046041596680880,0.117613762617111,-0.078318864107132,-0.001289620879106,0.073192521929741,0.101470902562141,0.000493699917570,0.034042160958052,-0.112267591059208,0.033295404165983) * MODEL5_texOff(vec2(1,1));
res += mat4(0.178030475974083,-0.175422355532646,0.052118569612503,0.036794181913137,-0.002872209995985,-0.060288306325674,0.024606710299850,-0.091329760849476,-0.039556127041578,0.003292715642601,-0.082548208534718,-0.058234862983227,0.006534079555422,-0.073124065995216,0.010294683277607,0.008543494157493) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.086993597447872,-0.054389789700508,0.155201897025108,0.210570052266121,-0.051384031772614,-0.104457274079323,0.031864829361439,-0.133545413613319,0.057340435683727,0.140658229589462,-0.018166400492191,-0.046911567449570,-0.224340260028839,-0.033389359712601,-0.098458059132099,0.032259758561850) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.078433282673359,0.035577010363340,-0.066218517720699,-0.024474531412125,-0.022040603682399,0.057621885091066,-0.079524926841259,-0.044454682618380,0.069297797977924,-0.011350140906870,-0.032439529895782,0.011889514513314,-0.033695716410875,-0.127816706895828,0.006179742980748,-0.023262023925781) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.000333235133439,-0.072036430239677,0.001161183463410,-0.374065637588501,-0.044045343995094,-0.064438216388226,-0.052501000463963,-0.050470788031816,-0.214848488569260,0.158604666590691,0.016967289149761,0.116994082927704,0.058105345815420,-0.126928597688675,-0.036171652376652,0.047204852104187) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.026385618373752,-0.169700309634209,0.168562084436417,-0.018781939521432,-0.158438906073570,0.062456529587507,-0.269698500633240,0.214913934469223,0.163859009742737,0.100164420902729,-0.111719787120819,-0.076862640678883,0.083976991474628,-0.013337503187358,-0.110970117151737,0.039570625871420) * MODEL6_texOff(vec2(0,0));
res += mat4(0.075504407286644,-0.022060498595238,0.064896672964096,-0.033555686473846,-0.027344342321157,-0.090245962142944,-0.169065356254578,-0.070490673184395,0.068977698683739,0.047480061650276,-0.021058056503534,0.083607159554958,-0.157273396849632,0.076863601803780,-0.121562965214252,0.031526383012533) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.019722521305084,0.020774500444531,-0.166136130690575,0.026709798723459,-0.036475237458944,-0.003895391710103,-0.030400183051825,-0.031008385121822,-0.063034497201443,-0.107303380966187,0.182726606726646,0.013722154311836,-0.078889198601246,0.092290282249451,-0.064298152923584,-0.047099746763706) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.066315114498138,-0.031931843608618,-0.098073154687881,0.026856411248446,-0.035137541592121,-0.193067282438278,-0.037310782819986,0.105596691370010,-0.028459163382649,0.049601342529058,0.139237508177757,0.031607732176781,0.137324765324593,-0.057109870016575,0.144304901361465,0.085537470877171) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.000004220419214,-0.037156932055950,0.033012740314007,0.014553214423358,-0.056911531835794,0.001554582850076,0.137870460748672,0.065153889358044,0.025436671450734,-0.053562272340059,0.135913118720055,-0.006199800409377,-0.093381926417351,0.169952780008316,-0.051577694714069,0.000985232181847) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.011991089209914,0.014683177694678,0.003239165525883,0.003313704626635) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE SUBCONV1
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] sub-pixel convolution 1

vec4 hook()
{
vec3 res = vec3(0.000236306193983,-0.000095140858321,0.000352847855538);
res += mat4x3(-0.013900355435908,-0.005407137796283,0.000571605167352,-0.014689833857119,0.001123282476328,0.002718910342082,0.005625514779240,0.002352644456550,-0.000260580505710,0.002610359573737,0.001292935456149,0.000995687441900) * MODEL7_texOff(vec2(-1,-1));
res += mat4x3(-0.003156610066071,-0.011531261727214,-0.016126902773976,0.014282294549048,0.016239801421762,-0.015434317290783,-0.009057404473424,-0.003922346513718,0.002925772452727,0.001749612158164,-0.017370548099279,0.005094163119793) * MODEL7_texOff(vec2(-1,0));
res += mat4x3(-0.000676634546835,0.000397892785259,0.000863593653776,-0.000526571879163,-0.001033253851347,-0.002160409465432,0.003537315642461,0.001252667629160,-0.007447618991137,-0.009229465387762,-0.009018294513226,0.035966195166111) * MODEL7_texOff(vec2(-1,1));
res += mat4x3(-0.001865741098300,-0.003666148055345,-0.001340118702501,0.009635413996875,0.009198755025864,0.000751078187022,0.002928857225925,-0.002368431072682,-0.002859700936824,-0.000222078931984,-0.003542881924659,-0.004148032050580) * MODEL7_texOff(vec2(0,-1));
res += mat4x3(0.034177996218204,0.023118874058127,0.007230607327074,0.017429437488317,-0.022693283855915,-0.028287971392274,-0.000189391910681,-0.000909209949896,0.001204926637001,-0.001957340165973,0.010476725175977,0.000903499952983) * MODEL7_texOff(vec2(0,0));
res += mat4x3(-0.004780462943017,0.005341974552721,0.021900542080402,-0.001168918446638,0.001090933452360,0.012476603500545,0.003531840397045,0.003437429433689,-0.001579305622727,0.005542418453842,0.013039765879512,-0.013011245988309) * MODEL7_texOff(vec2(0,1));
res += mat4x3(0.002320658881217,0.004256180021912,0.003494624979794,-0.001250040601008,0.002404430881143,0.005771608557552,0.001182539155707,0.000613788841292,-0.000121370809211,0.000686860992573,0.001290339161642,0.000737847120035) * MODEL7_texOff(vec2(1,-1));
res += mat4x3(-0.010189606808126,-0.006126342806965,-0.003997249994427,0.000066461754614,-0.001105413422920,0.000819136621431,-0.000319863378536,0.001731529366225,0.001676233368926,-0.003988995682448,-0.001528330380097,-0.000867498514708) * MODEL7_texOff(vec2(1,0));
res += mat4x3(-0.005432208068669,-0.008872016333044,-0.009919426403940,-0.001962443813682,-0.003448006231338,-0.001159774023108,-0.000031465682696,-0.001183657092042,-0.001887366175652,0.001534035196528,-0.000618232414126,-0.004168703220785) * MODEL7_texOff(vec2(1,1));
res += mat4x3(-0.001431983429939,0.002707828534767,-0.000056317880080,0.009214784950018,0.002706230152398,0.002187732839957,-0.002489894395694,0.001282427110709,0.002420376753435,-0.000349625741364,0.001259685028344,0.000504305528011) * MODEL8_texOff(vec2(-1,-1));
res += mat4x3(0.003672219114378,0.002745608100668,0.002609424525872,0.011330539360642,-0.025780929252505,-0.009228724986315,0.000848479801789,0.001239544362761,-0.001620689057745,-0.015238230116665,-0.013224858790636,-0.006334321573377) * MODEL8_texOff(vec2(-1,0));
res += mat4x3(-0.002554740058258,-0.002471471438184,0.001435870421119,-0.001083880080841,-0.001299867988564,0.018909793347120,0.000087620814156,-0.000635070784483,-0.000885708606802,0.001768430927768,-0.003091074526310,-0.010256198234856) * MODEL8_texOff(vec2(-1,1));
res += mat4x3(-0.022126629948616,0.026843516156077,0.001893917913549,0.002945413347334,-0.002980231307447,0.001298978109844,-0.004599333740771,0.002621652092785,0.005118687637150,-0.003776521189138,-0.001305779325776,0.000028447573641) * MODEL8_texOff(vec2(0,-1));
res += mat4x3(0.008999127894640,0.011490968056023,-0.019696401432157,-0.025872578844428,-0.006900093052536,0.021499169990420,0.032208960503340,0.000231619269471,-0.012850585393608,-0.016649967059493,-0.011974307708442,-0.009097650647163) * MODEL8_texOff(vec2(0,0));
res += mat4x3(-0.002547031268477,-0.002527897944674,0.000805105839390,0.000585817440879,0.003173614386469,-0.000474039377877,-0.001886410289444,-0.013659997843206,0.004735503345728,-0.000396735093091,-0.005939179100096,-0.010421589948237) * MODEL8_texOff(vec2(0,1));
res += mat4x3(0.001033050008118,-0.001654978026636,0.000067398061219,0.002368055051193,-0.000917889294215,-0.001556920353323,-0.001267285435461,0.002029181690887,0.001961040776223,-0.000355376396328,0.000565174908843,0.000862647662871) * MODEL8_texOff(vec2(1,-1));
res += mat4x3(0.000656808959320,-0.001044539385475,0.000055180938944,0.000659680750687,0.000697863462847,0.002242496469989,-0.001370266429149,-0.002381292870268,-0.003251435700804,0.000315989105729,0.001000687712803,0.000189596612472) * MODEL8_texOff(vec2(1,0));
res += mat4x3(-0.000021061030566,-0.001110060955398,-0.000289939926006,-0.000442543358076,-0.000116556453577,0.001468626433052,-0.000716684618965,0.000340240774676,-0.000548660813365,-0.000225325653446,-0.000678242475260,-0.000490889418870) * MODEL8_texOff(vec2(1,1));
res += mat4x3(0.005388903897256,0.008498718962073,-0.000135308509925,-0.002976009389386,-0.000365016545402,0.000872704200447,0.005235277116299,-0.001028525410220,-0.002342196414247,0.007246734108776,0.001443397253752,-0.001097307191230) * MODEL9_texOff(vec2(-1,-1));
res += mat4x3(0.005310238339007,-0.005857096984982,-0.020391875877976,-0.003881206037477,0.013344555161893,-0.000856061815284,-0.017182657495141,0.006869974546134,0.018834538757801,0.005172995384783,0.007129533216357,0.010071844793856) * MODEL9_texOff(vec2(-1,0));
res += mat4x3(0.002779077505693,0.002767965197563,-0.000638522848021,0.004001977387816,0.005197627935559,-0.010898155160248,-0.003256023861468,0.000221632304601,-0.004765323363245,-0.001187050598674,-0.000362905411748,0.002910029143095) * MODEL9_texOff(vec2(-1,1));
res += mat4x3(-0.033967245370150,-0.002810495439917,0.008682101964951,-0.008252915926278,-0.001477899262682,-0.001656708074734,-0.019094530493021,-0.001117297098972,0.002055109944195,-0.021637300029397,-0.006354861892760,0.000251755525824) * MODEL9_texOff(vec2(0,-1));
res += mat4x3(0.006650567520410,0.026437366381288,-0.011118942871690,-0.024791039526463,0.019783236086369,0.004797045141459,0.014713824726641,0.028270050883293,-0.009623032063246,0.001566765829921,-0.010913072153926,-0.023138085380197) * MODEL9_texOff(vec2(0,0));
res += mat4x3(0.002348094014451,-0.001616843859665,-0.007065651006997,-0.000611350405961,0.012641894631088,-0.002241045935079,-0.002464493969455,-0.003409222932532,-0.005955690518022,-0.004578056279570,-0.001472623436712,0.007236144971102) * MODEL9_texOff(vec2(0,1));
res += mat4x3(0.003142182249576,0.000596883357503,0.000219049761654,0.000944261904806,-0.000290044641588,0.000240838126047,0.000373468006728,0.000015547835574,-0.000117903051432,0.004020299762487,0.002147885272279,0.001858176896349) * MODEL9_texOff(vec2(1,-1));
res += mat4x3(0.000322522158967,0.004002986010164,0.007231080438942,-0.001406772760674,0.000256020721281,-0.000963236147072,-0.003344390541315,-0.002228296827525,-0.002806608332321,-0.001432935707271,0.001582603668794,0.004719068296254) * MODEL9_texOff(vec2(1,0));
res += mat4x3(-0.002087101107463,-0.000993770314381,-0.001026093959808,-0.001684864750132,0.000827610434499,-0.002450540661812,0.003537321230397,0.003529157489538,-0.002386624459177,0.000280142878182,0.000356874923455,-0.001935475040227) * MODEL9_texOff(vec2(1,1));
res += mat4x3(-0.010498101823032,0.000090550609457,0.003287760308012,-0.000907801731955,-0.000034640590457,-0.002433519577608,0.008736120536923,-0.009461113251746,-0.001468801405281,0.006253408268094,-0.000246806710493,0.001319416682236) * MODEL10_texOff(vec2(-1,-1));
res += mat4x3(-0.000577182800043,-0.010041479952633,-0.014154359698296,0.005174905061722,-0.002837676787749,-0.003498426638544,-0.002815512707457,-0.006528223399073,0.006194177083671,-0.017398186028004,-0.005901198834181,0.014637321233749) * MODEL10_texOff(vec2(-1,0));
res += mat4x3(-0.002427848288789,-0.000360435078619,0.004577301442623,-0.003404441056773,-0.001600080402568,0.003571014385670,0.000674186740071,0.002905449364334,0.002428272040561,0.001001065131277,0.001544620026834,-0.001231938367710) * MODEL10_texOff(vec2(-1,1));
res += mat4x3(-0.009926538914442,-0.000921393511817,0.003481473308057,0.002117589814588,-0.003970261197537,-0.005019915290177,0.025057772174478,0.002407434629276,-0.015712816268206,0.007402188610286,0.007159640081227,0.000708690204192) * MODEL10_texOff(vec2(0,-1));
res += mat4x3(0.011786286719143,0.010533561930060,0.001360484049655,-0.032350793480873,-0.005415300372988,0.023026619106531,0.004774902015924,0.001865511410870,-0.026059735566378,0.014973226934671,-0.028962302953005,-0.028925670310855) * MODEL10_texOff(vec2(0,0));
res += mat4x3(-0.002511566272005,0.000337233330356,0.009754867292941,0.000097306088719,0.010268708691001,0.002643253887072,-0.001581533811986,0.001219038967974,-0.002563348505646,-0.003152514575049,0.000170854313183,0.013605765998363) * MODEL10_texOff(vec2(0,1));
res += mat4x3(0.000069281217293,-0.001147350645624,-0.001113602425903,-0.000234984094277,-0.001392484991811,0.000270989665296,-0.000874644785654,0.002336441539228,0.005587548017502,-0.000432460743468,-0.002634672680870,-0.002489075995982) * MODEL10_texOff(vec2(1,-1));
res += mat4x3(0.000663297949359,0.001885928097181,0.002474685665220,0.000729524705093,0.001976548926905,0.001928746351041,0.001814747112803,-0.000339844031259,0.000324243068462,0.003466590540484,0.003504409454763,0.002423294121400) * MODEL10_texOff(vec2(1,0));
res += mat4x3(-0.000136766437208,0.000130591331981,0.001297254581004,0.002281888853759,0.002801525173709,-0.001309789717197,0.000219071895117,-0.000952994800173,0.000299658539006,-0.003140478162095,-0.001010401756503,0.004507267847657) * MODEL10_texOff(vec2(1,1));
res += mat4x3(0.000590833253227,-0.002165814628825,-0.003118410008028,0.002645962173119,-0.000369939341908,-0.001335473381914,0.001331354957074,-0.002599532715976,-0.000170125276782,-0.004251388367265,-0.008230241015553,-0.006233188323677) * MODEL11_texOff(vec2(-1,-1));
res += mat4x3(-0.007921122945845,-0.000015205705495,0.009617608040571,0.008064283058047,0.009539534337819,0.007955411449075,0.012080448679626,0.018560472875834,0.011552365496755,-0.003440344939008,0.001314321765676,0.000346781918779) * MODEL11_texOff(vec2(-1,0));
res += mat4x3(0.001393600832671,0.001782102161087,-0.000615948927589,-0.001350680249743,0.000236019041040,0.002486047334969,-0.000859965512063,-0.002004658104852,0.001894125482067,-0.004026082810014,-0.007028189022094,-0.007269662339240) * MODEL11_texOff(vec2(-1,1));
res += mat4x3(0.005968357436359,-0.004644002299756,-0.000281214190181,0.004756559152156,0.000779888592660,0.001140156760812,0.019112886860967,0.004110574722290,-0.002474020002410,0.002768664387986,-0.010205022059381,-0.010480137541890) * MODEL11_texOff(vec2(0,-1));
res += mat4x3(0.008002896793187,-0.034304928034544,0.020733317360282,0.037111960351467,0.033390469849110,0.019053921103477,-0.007174753583968,0.011269288137555,0.026070123538375,0.022409820929170,0.032883759588003,0.021928865462542) * MODEL11_texOff(vec2(0,0));
res += mat4x3(0.000387954467442,-0.007440905552357,0.017525060102344,0.000175519700861,0.007106338627636,0.021647213026881,0.001948630902916,-0.001268568332307,-0.008161447942257,-0.007485836744308,-0.009571008384228,0.002557990141213) * MODEL11_texOff(vec2(0,1));
res += mat4x3(-0.001638119691052,0.003680294146761,0.000409007276176,0.001829192740843,-0.000564746500459,-0.000850405718666,-0.003731566481292,-0.002650698646903,-0.001572950859554,-0.002743535209447,-0.002113317139447,-0.001961622154340) * MODEL11_texOff(vec2(1,-1));
res += mat4x3(0.002561540342867,0.001493545831181,-0.005675986874849,0.010716017335653,0.010455671697855,0.005491309799254,-0.004319657105953,-0.005336464848369,-0.003954213112593,-0.004743928089738,-0.003643553936854,-0.003527089254931) * MODEL11_texOff(vec2(1,0));
res += mat4x3(-0.001238071825355,-0.001462984131649,0.002306204987690,-0.001032781670801,0.001243704929948,0.007290097884834,0.000077868244261,-0.000949739420321,-0.003517610253766,-0.000893605523743,-0.002642275765538,-0.003717177081853) * MODEL11_texOff(vec2(1,1));
res += mat4x3(-0.000636492099147,-0.003020049072802,0.002268865238875,-0.001252012443729,0.004082774277776,0.000914519187063,-0.010398488491774,-0.003915709443390,-0.001278046984226,-0.000014402063243,-0.000801226531621,-0.001241454156116) * MODEL12_texOff(vec2(-1,-1));
res += mat4x3(-0.002952526323497,-0.002081065904349,0.001018373994157,0.007613051217049,0.006195071619004,-0.014105784706771,-0.019449600949883,-0.027565514668822,-0.023081364110112,-0.020523034036160,-0.016518207266927,-0.008974459022284) * MODEL12_texOff(vec2(-1,0));
res += mat4x3(0.001637763460167,0.001278598210774,0.000773501000367,-0.001834398601204,-0.003010068554431,-0.002553005004302,-0.000794034393039,0.000688390573487,-0.004291382152587,-0.001732439850457,-0.006209058687091,-0.012782716192305) * MODEL12_texOff(vec2(-1,1));
res += mat4x3(-0.000915547541808,-0.011199833825231,-0.004160734359175,0.009362490847707,0.000535053666681,0.002603933447972,0.000664918625262,0.001084225368686,0.001747621223330,-0.000287541915895,0.002584784058854,0.001600476563908) * MODEL12_texOff(vec2(0,-1));
res += mat4x3(-0.013413841836154,-0.015951965004206,0.035206232219934,0.019990937784314,-0.012475922703743,-0.016287351027131,0.001056938082911,-0.000452826148830,-0.001727916882373,0.001033588428982,-0.001810804242268,-0.002023392589763) * MODEL12_texOff(vec2(0,0));
res += mat4x3(0.003289914457127,0.001848652958870,0.002844770206138,-0.002283557318151,-0.005061556119472,0.004545250441879,0.000044637967221,0.001948233228177,0.002569712698460,0.000479010574054,0.000534568971489,0.000547346018720) * MODEL12_texOff(vec2(0,1));
res += mat4x3(0.000948817003518,0.000924573221710,-0.000572381250095,0.000185537501238,0.000484524585772,0.000346485205228,-0.001124709378928,-0.000333301373757,0.000233389218920,0.001913661253639,0.000448550214060,-0.000824626709800) * MODEL12_texOff(vec2(1,-1));
res += mat4x3(-0.001634717686102,-0.001505958382040,0.000533324549906,0.000109386666736,0.000285058224108,-0.002752276370302,-0.001476276665926,-0.002823920920491,-0.002055596094579,0.001269640401006,0.000413412810303,0.001755794859491) * MODEL12_texOff(vec2(1,0));
res += mat4x3(0.001098836306483,0.001102171023376,-0.001009700237773,-0.001962774200365,0.000203406918445,0.000839968328364,-0.000508942583110,0.000058769895986,-0.000871889817063,0.001328773912974,0.002688592066988,0.003068735823035) * MODEL12_texOff(vec2(1,1));
return vec4(res, 0);
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE SUBCONV2
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] sub-pixel convolution 2

vec4 hook()
{
vec3 res = vec3(-0.000489723577630,-0.000643200241029,0.000353226525476);
res += mat4x3(0.002119450597093,-0.006447090767324,-0.005344646517187,-0.000648992136121,0.002879616338760,0.004549728240818,0.006264269817621,0.001759355654940,-0.001372359693050,0.002380002755672,0.002827845280990,0.003127821022645) * MODEL7_texOff(vec2(-1,-1));
res += mat4x3(0.009339432232082,0.012218963354826,0.011374677531421,0.005025102291256,-0.006263114046305,-0.008358702994883,0.007966977544129,0.011563417501748,0.009704600088298,0.020223023369908,-0.011508369818330,-0.005194553174078) * MODEL7_texOff(vec2(-1,0));
res += mat4x3(-0.000387134903576,0.000892007956281,0.003561453428119,0.003993827849627,0.002670248271897,0.001857751514763,0.001008412102237,0.000853476929478,0.002100981306285,-0.000062490747951,-0.012533499859273,0.004766742698848) * MODEL7_texOff(vec2(-1,1));
res += mat4x3(0.011065920814872,0.002824876923114,-0.000592232157942,0.019747328013182,-0.003796998411417,-0.004758798982948,0.000802777183708,-0.002897058613598,-0.003430752549320,0.000611188239418,-0.003320763818920,-0.005058188922703) * MODEL7_texOff(vec2(0,-1));
res += mat4x3(-0.004893371835351,0.011126509867609,0.017439123243093,-0.025301199406385,-0.025243388488889,0.026639498770237,-0.023320931941271,-0.018561759963632,-0.006088558118790,-0.029543207958341,0.010745365172625,0.006958565209061) * MODEL7_texOff(vec2(0,0));
res += mat4x3(-0.005687337834388,-0.012023999355733,-0.013259991072118,0.000559718639124,0.006091456394643,0.006886378396302,0.003663644427434,0.000271754775895,-0.014825030229986,-0.013241847045720,0.020501436665654,-0.009313111193478) * MODEL7_texOff(vec2(0,1));
res += mat4x3(0.000186253993888,0.002564044203609,0.001711505115964,-0.001495065167546,0.001273964182474,-0.001487203990109,0.003307963954285,0.000974569527898,-0.000417980685597,0.001099927350879,0.000387902080547,0.000140999327414) * MODEL7_texOff(vec2(1,-1));
res += mat4x3(-0.013848452828825,-0.009729680605233,-0.004131947178394,-0.002126992680132,0.004078867845237,0.001961047761142,0.003770687151700,0.006567970849574,0.005809007678181,-0.004528575111181,-0.000791047350504,0.001412595505826) * MODEL7_texOff(vec2(1,0));
res += mat4x3(0.003196982201189,-0.003197798272595,-0.008321373723447,-0.003419827437028,-0.002996004186571,-0.001887346035801,0.000802468508482,-0.000160237934324,-0.000533757207450,0.001344896620139,-0.000951846421231,-0.003034666180611) * MODEL7_texOff(vec2(1,1));
res += mat4x3(0.000606471090578,0.001390741323121,0.000324805907439,0.004449304193258,0.001518139615655,0.001089812023565,-0.001326862839051,-0.000317198515404,0.000447737518698,-0.001434454694390,-0.001263050828129,-0.000760013121180) * MODEL8_texOff(vec2(-1,-1));
res += mat4x3(-0.000674002687447,-0.002004915149882,-0.000732850632630,-0.013740405440331,-0.002261303365231,0.011321764439344,0.003899826202542,0.003683364251629,0.002472430700436,-0.012447744607925,-0.009809050709009,-0.005605991929770) * MODEL8_texOff(vec2(-1,0));
res += mat4x3(-0.001086908858269,-0.000870010408107,0.000280922307866,-0.002746362471953,-0.000712035573088,0.000262402900262,0.000538952706847,-0.000960230303463,0.001460547558963,0.001762136234902,-0.001152324024588,-0.007684812415391) * MODEL8_texOff(vec2(-1,1));
res += mat4x3(-0.022750988602638,0.021974887698889,0.002275763312355,-0.012294523417950,-0.001018994720653,0.002998766256496,-0.005015446338803,0.002866214374080,0.004666498396546,-0.001932289451361,0.001066530239768,0.001298230374232) * MODEL8_texOff(vec2(0,-1));
res += mat4x3(0.008168670348823,0.011048248037696,-0.012894328683615,-0.007342053577304,0.032406613230705,0.006294490769506,0.013579867780209,0.000468055950478,-0.011600460857153,-0.014966807328165,-0.016437316313386,-0.009706227108836) * MODEL8_texOff(vec2(0,0));
res += mat4x3(-0.003653368446976,-0.003845267696306,0.001303685246967,0.003283544443548,0.002160076051950,-0.020951358601451,-0.003512338735163,-0.006316436920315,-0.002634836360812,-0.000883298867848,-0.002930157585070,-0.009698863141239) * MODEL8_texOff(vec2(0,1));
res += mat4x3(-0.003746533766389,0.002957778749987,0.000506929529365,-0.000702122866642,-0.003604343859479,-0.002881909022108,-0.002322822343558,0.002484198426828,0.003610623534769,0.000750091101509,0.001258834381588,0.000406510080211) * MODEL8_texOff(vec2(1,-1));
res += mat4x3(0.003663504263386,0.001847214414738,-0.003848338266835,0.003321112832054,0.002721053548157,0.000798994791694,0.008035120554268,-0.003201709361747,-0.005062811076641,0.001678463770077,0.001012448221445,0.001813561888412) * MODEL8_texOff(vec2(1,0));
res += mat4x3(-0.001083127805032,-0.001560697797686,0.000346125510987,0.000827490643132,0.001209921203554,0.000420227559516,-0.002735396614298,-0.006682350765914,0.000752093968913,0.001228772918694,0.001144680776633,0.000946561340243) * MODEL8_texOff(vec2(1,1));
res += mat4x3(-0.006581974215806,-0.002609608229250,-0.004886108916253,-0.002663096413016,-0.000142003569636,0.001071390346624,-0.001843077712692,-0.003095682710409,-0.004288794472814,0.002692441688851,0.001033464097418,-0.000082806072896) * MODEL9_texOff(vec2(-1,-1));
res += mat4x3(-0.000666991050821,0.005980514921248,-0.002800549147651,-0.000869659648743,0.004188968334347,0.002011596690863,0.005211649928242,0.005961422342807,-0.003409133292735,-0.002076932461932,-0.000168921687873,0.003063176292926) * MODEL9_texOff(vec2(-1,0));
res += mat4x3(-0.001678831991740,0.001033688778989,0.000152329739649,0.005122059490532,0.000276815233519,-0.002599132247269,0.000117015864816,0.003039336530492,0.000377868389478,0.000123590783915,0.001352684223093,0.001060154638253) * MODEL9_texOff(vec2(-1,1));
res += mat4x3(0.002613082760945,-0.020390901714563,-0.001843680976890,-0.006800967734307,-0.000796508393250,-0.001225000829436,0.000183234151336,0.008874100632966,0.001730664866045,-0.013262537308037,-0.004515266977251,-0.001580190728419) * MODEL9_texOff(vec2(0,-1));
res += mat4x3(-0.019928196445107,0.001736674807034,0.043342266231775,-0.025138935074210,0.030337866395712,-0.002332997275516,0.025530194863677,-0.012488124892116,-0.031347237527370,-0.000908072572201,-0.012393415905535,-0.019236670807004) * MODEL9_texOff(vec2(0,0));
res += mat4x3(0.002916370052844,0.002590653952211,-0.004040175583214,0.000074904972280,0.016662659123540,-0.012604834511876,-0.001605931902304,-0.004327251575887,0.011801866814494,-0.007146898191422,-0.005311345681548,0.003743445500731) * MODEL9_texOff(vec2(0,1));
res += mat4x3(0.013552528806031,0.002041409956291,-0.000484862015583,0.000391955341911,-0.000972457870375,-0.000065886670200,0.003308496903628,0.001949027995579,0.003302943659946,0.005279912613332,0.002211404731497,0.001139196567237) * MODEL9_texOff(vec2(1,-1));
res += mat4x3(-0.002987910993397,-0.008222507312894,0.003215979319066,-0.003434642218053,0.000571678276174,0.003328232793137,-0.003723630914465,-0.005802795290947,-0.000178205285920,0.002459529787302,0.006426256615669,0.009001128375530) * MODEL9_texOff(vec2(1,0));
res += mat4x3(-0.002573290606961,0.000878457503859,-0.001200916245580,-0.001399716944434,0.001663431175984,-0.000424219615525,0.002611314877868,0.000387539534131,-0.001752663287334,-0.000713145127520,0.000749537663069,0.001678992179222) * MODEL9_texOff(vec2(1,1));
res += mat4x3(-0.001678378786892,-0.000677847594488,0.000680826720782,-0.001687434385531,0.002219980582595,0.000394014467020,-0.001802355865948,-0.001810702495277,-0.001239477307536,-0.001220661681145,-0.000195872387849,0.000445337616839) * MODEL10_texOff(vec2(-1,-1));
res += mat4x3(0.004145453684032,0.001922619645484,0.000830520293675,-0.002752439817414,-0.000496440858115,-0.000349020148860,-0.006152013316751,0.000601721054409,0.003596843918785,0.000033593812987,-0.007153390441090,-0.002825778443366) * MODEL10_texOff(vec2(-1,0));
res += mat4x3(-0.001449051778764,0.000020530547772,0.004019386135042,-0.000281688902760,0.000628512469120,-0.000834563048556,0.000376224779757,0.001675748382695,0.000746448116843,0.003108518430963,0.000404261605581,0.001350586302578) * MODEL10_texOff(vec2(-1,1));
res += mat4x3(-0.016951005905867,-0.001248609856702,0.003763430751860,0.006171798799187,-0.005252321716398,-0.005344099365175,0.039744008332491,-0.011145544238389,-0.011462384834886,-0.018914718180895,0.007802137173712,0.006483775563538) * MODEL10_texOff(vec2(0,-1));
res += mat4x3(0.007571274880320,-0.002832804340869,-0.015375734306872,-0.010994493030012,-0.018348613753915,0.015776492655277,0.009371078573167,-0.007600719574839,-0.016376782208681,0.029363339766860,0.021356565877795,-0.029345799237490) * MODEL10_texOff(vec2(0,0));
res += mat4x3(-0.002290396485478,-0.000094056616945,0.009142052382231,-0.001605763682164,0.006077366415411,0.014260305091739,-0.000526092015207,0.001281511038542,-0.002081967890263,0.000546520343050,-0.005915276706219,-0.005507908761501) * MODEL10_texOff(vec2(0,1));
res += mat4x3(0.000852399622090,-0.000811378122307,-0.000598543614615,-0.000199432659429,-0.002163104712963,-0.001546912593767,-0.000884900975507,0.005090216640383,-0.000424850091804,0.000519225548487,-0.002766463439912,-0.002959134988487) * MODEL10_texOff(vec2(1,-1));
res += mat4x3(0.004140499513596,0.006514628417790,0.005984947551042,-0.003479532431811,0.006134949158877,0.003823905484751,0.002262087538838,0.003259603865445,-0.005084333941340,0.000794270017650,0.006760005839169,0.007208479568362) * MODEL10_texOff(vec2(1,0));
res += mat4x3(-0.000399124255637,0.000864072004333,0.003152988152578,0.001075837179087,0.004313031211495,-0.001936756772920,-0.000412438268540,0.000010212027519,0.000975877686869,-0.000875018246006,-0.004223942756653,-0.000736038549803) * MODEL10_texOff(vec2(1,1));
res += mat4x3(0.001724362024106,-0.000678003998473,-0.001512634102255,-0.000809429388028,0.000698816380464,0.000125862628920,0.007330842781812,0.004407111089677,0.001981272362173,-0.005196856334805,-0.004010201431811,-0.002678026910871) * MODEL11_texOff(vec2(-1,-1));
res += mat4x3(0.001732547185384,-0.001238777767867,-0.000816148705781,-0.002402867190540,-0.002989059546962,-0.001824374659918,-0.000825139926746,0.001766345929354,0.007143595255911,-0.007916685193777,-0.006914442405105,-0.006201469339430) * MODEL11_texOff(vec2(-1,0));
res += mat4x3(0.001102761132643,0.000685834209435,-0.003907879814506,0.001086746226065,0.000097775729955,-0.001229935791343,-0.001304088742472,-0.001270028995350,-0.001773232128471,-0.001873804023489,-0.004059547558427,-0.006935600657016) * MODEL11_texOff(vec2(-1,1));
res += mat4x3(-0.000972568697762,-0.005777627695352,-0.001786772510968,-0.003882912686095,-0.000235795596382,0.001438298379071,0.000289158429950,0.004130287561566,0.000488523626700,0.000991740496829,-0.012037165462971,-0.011153271421790) * MODEL11_texOff(vec2(0,-1));
res += mat4x3(-0.009287807159126,-0.024647738784552,0.032379794865847,-0.022160677239299,-0.021814700216055,-0.014112435281277,-0.009535402990878,-0.015371454879642,-0.011801886372268,0.019940420985222,0.030297322198749,0.019797127693892) * MODEL11_texOff(vec2(0,0));
res += mat4x3(-0.000680562225170,-0.004931164905429,0.018330333754420,0.002473769243807,-0.000557741266675,-0.009980191476643,-0.000935752061196,0.001277253730223,0.000365424988559,-0.008606349118054,-0.012040935456753,-0.000275760132354) * MODEL11_texOff(vec2(0,1));
res += mat4x3(0.003513503121212,0.002864603418857,-0.000218904795474,-0.002393085043877,0.000362200487871,0.000780827191193,-0.005251056049019,-0.002445061691105,-0.000543050526176,-0.001205427455716,-0.003843673737720,-0.003653428284451) * MODEL11_texOff(vec2(1,-1));
res += mat4x3(0.006306746508926,-0.004750933032483,-0.003340258728713,-0.010259297676384,-0.009852305054665,-0.007771201897413,-0.000112021785753,-0.005781985353678,-0.008461239747703,0.001151937060058,0.003990438301116,0.002048321999609) * MODEL11_texOff(vec2(1,0));
res += mat4x3(-0.000409402651712,-0.002409176202491,0.002049651928246,-0.000530990480911,-0.003500251099467,-0.006357454229146,0.000040085731598,0.001897548325360,0.001978904940188,-0.002334180520847,-0.004234821069986,-0.002499809954315) * MODEL11_texOff(vec2(1,1));
res += mat4x3(0.002644647145644,-0.001707871793769,-0.001424945425242,-0.004228991456330,0.002112705959007,0.002050337614492,0.013714283704758,-0.000628507114016,-0.001480713253841,0.001390042132698,-0.001990207470953,-0.001588669489138) * MODEL12_texOff(vec2(-1,-1));
res += mat4x3(-0.000784177042078,0.004358028061688,0.001936438959092,0.001587759004906,0.001171780400909,-0.006412784103304,0.018172254785895,0.034858442842960,0.031892191618681,0.008293552324176,0.009559777565300,0.006328358314931) * MODEL12_texOff(vec2(-1,0));
res += mat4x3(0.001275660586543,0.000776287808549,-0.000780538306572,-0.000637511722744,-0.000601760868449,0.000499784538988,0.000379316887120,-0.000130384069053,0.003382893512025,0.000560534943361,0.002885601483285,0.005191841628402) * MODEL12_texOff(vec2(-1,1));
res += mat4x3(-0.005499579478055,-0.009959281422198,0.000053567626310,0.015560829080641,0.002622309140861,0.000147153186845,0.006934539414942,0.000879913975950,-0.000666998152155,-0.000503610528540,0.002229992300272,0.002228694036603) * MODEL12_texOff(vec2(0,-1));
res += mat4x3(-0.009767967276275,-0.016854239627719,0.028136758133769,0.025981387123466,-0.005865051876754,-0.024801339954138,0.016547063365579,0.022208822891116,0.016303239390254,0.035571958869696,0.024778185412288,0.008583862334490) * MODEL12_texOff(vec2(0,0));
res += mat4x3(0.003536843461916,0.002640010323375,0.003425577189773,-0.004210632760078,-0.005669535137713,-0.000326137931552,-0.001299185096286,-0.000695675611496,0.006841070484370,-0.000754707201850,0.006560910027474,0.023457100614905) * MODEL12_texOff(vec2(0,1));
res += mat4x3(0.000122174373246,-0.001226559630595,-0.001353514264338,-0.000498750247061,0.000940254016314,0.001356270280667,-0.000937743752729,-0.000796788663138,-0.000767753401306,-0.000208488578210,-0.000634515832644,-0.000608734611887) * MODEL12_texOff(vec2(1,-1));
res += mat4x3(-0.004804776981473,-0.005543613340706,0.006490270141512,0.001179767423309,-0.000470773491543,-0.000795038940851,-0.001993575366214,-0.002813822822645,-0.002026134636253,-0.001500259037130,-0.001275687012821,-0.000910232425667) * MODEL12_texOff(vec2(1,0));
res += mat4x3(0.001631554099731,0.001268800231628,0.000684214988723,-0.000848884752486,-0.001414010534063,0.001819045981392,-0.000822748988867,-0.000268612755463,-0.000535895116627,-0.001731628552079,-0.001567150698975,-0.000086533756985) * MODEL12_texOff(vec2(1,1));
return vec4(res, 0);
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE SUBCONV3
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] sub-pixel convolution 3

vec4 hook()
{
vec3 res = vec3(0.000226464573643,0.000030749604775,0.000381188147003);
res += mat4x3(0.009623492136598,0.004232282284647,0.001056512002833,0.000474403175758,0.003098620567471,0.003807934001088,0.003023325931281,0.000980969634838,-0.000815949402750,-0.001672751852311,0.003639646805823,0.004448692314327) * MODEL7_texOff(vec2(-1,-1));
res += mat4x3(0.007749679964036,0.008485673926771,0.010550113394856,-0.002239862224087,-0.003554797964171,0.000712774228305,0.007279857993126,0.008439649827778,0.005665441043675,0.014073363505304,-0.002975710667670,-0.009823448956013) * MODEL7_texOff(vec2(-1,0));
res += mat4x3(-0.000334273383487,0.002310766139999,0.005516446195543,0.002223893534392,-0.002153270645067,-0.002653773175552,0.000128825835418,0.000155395711772,0.003048636019230,-0.000556330895051,-0.005160343833268,-0.006676019635051) * MODEL7_texOff(vec2(-1,1));
res += mat4x3(0.001502434490249,0.008245849050581,0.006099896505475,-0.013618370518088,-0.008311523124576,-0.001115243532695,0.002868830692023,0.000332451745635,-0.001503916573711,0.001749467570335,0.000531542522367,-0.002551023848355) * MODEL7_texOff(vec2(0,-1));
res += mat4x3(-0.029370078817010,-0.029516045004129,-0.014809922315180,-0.019564425572753,0.029625190421939,0.031812682747841,-0.029840581119061,-0.022075813263655,-0.005968592595309,-0.034249689429998,-0.008852348662913,0.011316390708089) * MODEL7_texOff(vec2(0,0));
res += mat4x3(0.001855722046457,-0.003513539209962,-0.012964732013643,0.002322588115931,-0.000949683075305,-0.016277082264423,0.003698397427797,-0.001047322875820,-0.018663799390197,-0.023292327299714,0.011164337396622,0.029372096061707) * MODEL7_texOff(vec2(0,1));
res += mat4x3(-0.005632066633552,-0.003665877273306,-0.001401555258781,-0.006525091826916,-0.000392960937461,-0.005054926499724,0.004850494675338,-0.000169233739143,-0.001036827103235,0.000955189811066,-0.003312743501738,-0.002243024995551) * MODEL7_texOff(vec2(1,-1));
res += mat4x3(0.008976876735687,-0.000788627075963,-0.004411220084876,0.008677885867655,0.011579800397158,-0.012013040482998,0.009226957336068,0.009209849871695,0.007114688865840,0.002113428665325,0.003554449649528,0.003344062715769) * MODEL7_texOff(vec2(1,0));
res += mat4x3(0.008618948049843,0.015442918054760,0.016477374359965,-0.000838406616822,-0.000900306622498,-0.002899022540078,0.002901458647102,0.003216330427676,0.002888258080930,0.008005006238818,0.003558272495866,-0.005138895008713) * MODEL7_texOff(vec2(1,1));
res += mat4x3(-0.000448193168268,0.000024229415430,0.000160347743076,0.001567595056258,0.000946780317463,-0.001869000261649,-0.000894742785022,-0.000186190212844,-0.000023889882868,0.000724970654119,-0.001874204259366,-0.001697521074675) * MODEL8_texOff(vec2(-1,-1));
res += mat4x3(-0.000376290437998,-0.001773950411007,-0.001531221205369,-0.001304355682805,0.006931183394045,0.001131823169999,0.002207302954048,0.003345843404531,0.001985386945307,0.005788841750473,0.007546324282885,0.005668993573636) * MODEL8_texOff(vec2(-1,0));
res += mat4x3(-0.000058550918766,0.000158766401000,0.000642215949483,-0.005643984768540,-0.001951177604496,-0.002702666679397,-0.000706653285306,-0.001238911529072,0.000592403579503,-0.000620953505859,0.001232424634509,0.002267230534926) * MODEL8_texOff(vec2(-1,1));
res += mat4x3(-0.012505142018199,0.010130984708667,0.001576003269292,-0.005778624676168,0.005497979931533,0.003204874694347,-0.004346312023699,0.002605559770018,0.003576416522264,0.006331751123071,0.001757782883942,0.001432528370060) * MODEL8_texOff(vec2(0,-1));
res += mat4x3(0.006958876270801,0.007619200274348,-0.003358962945640,0.041414998471737,0.007338488940150,-0.034713916480541,-0.001196756144054,-0.002965196734294,-0.009559049271047,0.042108129709959,0.035202838480473,0.020024234429002) * MODEL8_texOff(vec2(0,0));
res += mat4x3(-0.003355084918439,-0.003983485512435,0.001078490982763,0.000881212297827,-0.006408487446606,0.001176673104055,-0.003971785306931,-0.001615894841962,-0.003767525544390,0.001054978230968,0.010930031538010,0.026878591626883) * MODEL8_texOff(vec2(0,1));
res += mat4x3(-0.011873365379870,0.015367020852864,0.001041952404194,0.000995735172182,-0.000542011577636,0.002198772272095,-0.004075864329934,0.002532968530431,0.005143761169165,-0.000177293986781,-0.001296967733651,-0.001047153724357) * MODEL8_texOff(vec2(1,-1));
res += mat4x3(0.007629933301359,0.008295039646327,-0.011589587666094,0.001139932312071,-0.011973854154348,-0.000921844679397,0.025416195392609,-0.003104375442490,-0.009310121648014,0.008744095452130,0.007491524796933,0.003898461116478) * MODEL8_texOff(vec2(1,0));
res += mat4x3(-0.001937883440405,-0.001785840606317,0.000851321325172,0.001186091918498,-0.001475901925005,0.004845354706049,-0.002825097879395,-0.014570268802345,0.004664943087846,-0.000199865608010,0.002048815134913,0.007051344029605) * MODEL8_texOff(vec2(1,1));
res += mat4x3(-0.002922585699707,0.000540352775715,-0.002331123454496,-0.002420862438157,-0.000536849896889,0.000339805730619,-0.002070005983114,-0.004437435418367,-0.001564444159158,-0.000997414463200,-0.000412223540479,0.000458688795334) * MODEL9_texOff(vec2(-1,-1));
res += mat4x3(0.001608696882613,0.001634736428969,0.001188782043755,-0.002992649795488,0.001254250644706,0.002342819934711,0.003669690573588,-0.002459689974785,-0.003056730609387,-0.003209306159988,-0.002308958908543,-0.001788949593902) * MODEL9_texOff(vec2(-1,0));
res += mat4x3(-0.000923149695154,-0.001096184481867,0.001551993424073,0.002714737085626,-0.001054223859683,-0.000105696934042,0.003253812436014,0.002783955773339,0.000135492795380,-0.000440839707153,-0.000209432924748,-0.001716182800010) * MODEL9_texOff(vec2(-1,1));
res += mat4x3(0.036230657249689,0.002347705652937,-0.007513530552387,-0.003841888159513,-0.000789957412053,-0.000120446282381,0.019408307969570,0.002523471601307,-0.000697500421666,0.004762200638652,-0.000015477184206,-0.000561794324312) * MODEL9_texOff(vec2(0,-1));
res += mat4x3(-0.000997218536213,-0.030696766451001,0.008837031200528,-0.015594926662743,0.025863667950034,-0.003747458569705,-0.016479231417179,-0.029594834893942,0.011237120255828,0.007114817388356,0.006345022004098,0.005103771109134) * MODEL9_texOff(vec2(0,0));
res += mat4x3(0.003356950357556,0.001572587061673,0.005117984488606,0.001123512745835,0.013601137325168,-0.018829451873899,-0.001717718318105,0.000429312174674,0.009728908538818,-0.005301831755787,-0.005729290191084,0.000713915680535) * MODEL9_texOff(vec2(0,1));
res += mat4x3(-0.001686076750048,0.010194499976933,0.000477204710478,-0.004055645316839,-0.000724219658878,-0.000132535758894,-0.003019909374416,-0.002671578200534,0.001101015252061,-0.005039236042649,-0.001883596298285,0.000456607871456) * MODEL9_texOff(vec2(1,-1));
res += mat4x3(0.011814362369478,-0.005810723640025,-0.027977326884866,-0.012258942238986,0.005221439991146,0.004346070811152,-0.006477980408818,0.008720476180315,0.012039756402373,0.007881900295615,0.007202025968581,0.000490337610245) * MODEL9_texOff(vec2(1,0));
res += mat4x3(-0.002392449416220,-0.000348625937477,0.003284620353952,-0.002247351221740,0.004339923616499,0.002126349834725,-0.002660356462002,-0.001975413179025,-0.002084197942168,-0.001872462220490,0.000800024077762,0.006624126341194) * MODEL9_texOff(vec2(1,1));
res += mat4x3(0.001999574480578,0.000564623216633,0.000535303261131,0.000137538794661,0.001826573628932,0.000842547975481,0.001070434809662,0.001843805890530,-0.001459071645513,-0.004196876194328,-0.003701458685100,-0.003340084804222) * MODEL10_texOff(vec2(-1,-1));
res += mat4x3(0.004631146322936,0.004929523449391,0.005088284146041,-0.002105666324496,-0.003086215350777,-0.000168175276485,-0.005654217675328,0.003704473841935,0.001764698419720,0.002023168373853,0.001167932525277,-0.001189605100080) * MODEL10_texOff(vec2(-1,0));
res += mat4x3(0.000406955776270,0.001363631687127,0.003992118407041,0.001391137833707,0.001720777247101,0.001123296562582,0.000249966920819,0.000387026346289,-0.001773412688635,0.001780828693882,0.002750057959929,0.000380380166462) * MODEL10_texOff(vec2(-1,1));
res += mat4x3(-0.017645088955760,0.000127201215946,0.004843923263252,0.004947939421982,-0.003273452166468,-0.002955434378237,0.031433261930943,-0.013720567338169,-0.004762269090861,-0.010441635735333,-0.005024643149227,0.001504239044152) * MODEL10_texOff(vec2(0,-1));
res += mat4x3(0.002708501415327,-0.014361232519150,-0.023841924965382,0.008929625153542,-0.011266326531768,0.003976212814450,0.006914325524122,-0.016330588608980,-0.002052286872640,-0.010925140231848,0.034252431243658,0.022785102948546) * MODEL10_texOff(vec2(0,0));
res += mat4x3(-0.001058137626387,0.001071014092304,0.008739436976612,-0.002773146843538,0.000689647044055,0.012628303840756,0.001261542551219,0.003296108450741,0.002608164679259,0.002499302383512,0.001602175761946,-0.015629591420293) * MODEL10_texOff(vec2(0,1));
res += mat4x3(-0.001353674568236,-0.000326539418893,0.001964988885447,-0.000812358455732,-0.002518507651985,-0.004139018245041,0.003087069839239,0.008157935924828,-0.008336624130607,0.009782211855054,-0.000608449219726,-0.000651473994367) * MODEL10_texOff(vec2(1,-1));
res += mat4x3(0.009326046332717,0.012206484563649,0.009299145080149,-0.019643427804112,0.011134142056108,0.013774955645204,0.004295580554754,0.007882216945291,-0.019864777103066,-0.012097381986678,-0.012911614030600,0.010991920717061) * MODEL10_texOff(vec2(1,0));
res += mat4x3(-0.000977945281193,0.001739401137456,0.007347512058914,0.000052609841077,0.006385434884578,-0.005894150584936,-0.002544342773035,-0.000162189331604,-0.000010412437405,0.001560597564094,0.001279272604734,-0.000673428992741) * MODEL10_texOff(vec2(1,1));
res += mat4x3(0.001653966144659,-0.000858078419697,-0.000401088065701,-0.000415806018282,-0.000964555249084,-0.001117693609558,0.000794252380729,0.002658576937392,0.001557106734253,-0.002708084415644,-0.001298642135225,-0.000679325021338) * MODEL11_texOff(vec2(-1,-1));
res += mat4x3(0.003010378684849,-0.002177922986448,0.000022381658709,0.000355433410732,0.000707722851075,0.000202037001145,-0.005344426725060,-0.004214277025312,-0.001377588254400,-0.004570781253278,-0.004380248021334,-0.003914915025234) * MODEL11_texOff(vec2(-1,0));
res += mat4x3(0.001403961912729,-0.000449889630545,-0.002732691355050,-0.000221477690502,0.000088154680270,0.000848191382829,0.000271536555374,-0.001408142852597,-0.003825648920611,-0.000362015707651,-0.001184164430015,-0.003614270593971) * MODEL11_texOff(vec2(-1,1));
res += mat4x3(-0.002026330679655,-0.003688926110044,-0.003433692269027,-0.000023366837922,-0.001654121093452,0.000343017949490,-0.023046478629112,-0.007063193712384,0.001074074301869,-0.000990444212221,-0.011262087151408,-0.008974948897958) * MODEL11_texOff(vec2(0,-1));
res += mat4x3(-0.016122719272971,-0.011177631095052,0.023746363818645,-0.007582279387861,-0.003420135239139,-0.001551001099870,0.007189431227744,-0.006093974225223,-0.029109386727214,0.009481893852353,0.020017394796014,0.013880969956517) * MODEL11_texOff(vec2(0,0));
res += mat4x3(0.000195126922335,0.001131607918069,0.012085977010429,0.000288559123874,-0.001689990283921,-0.005532523617148,-0.004534277599305,-0.004097062628716,0.004669089801610,-0.005845172330737,-0.009205894544721,-0.003886715043336) * MODEL11_texOff(vec2(0,1));
res += mat4x3(0.007311434950680,0.000196932785911,-0.000103523292637,-0.002103007864207,0.000463951757411,0.000304318004055,0.001727900118567,0.001367071992718,0.001823809812777,0.002830676268786,-0.006544492207468,-0.006627390626818) * MODEL11_texOff(vec2(1,-1));
res += mat4x3(0.012685284949839,-0.020830070599914,0.003912568558007,-0.010628909803927,-0.011193188838661,-0.005619946401566,0.007566860411316,0.008006701245904,0.003109445795417,0.015820603817701,0.023965384811163,0.016617698594928) * MODEL11_texOff(vec2(1,0));
res += mat4x3(-0.000465886114398,-0.005577047821134,0.008629408665001,-0.000107311454485,-0.003513987176120,-0.008140582591295,-0.000141864133184,0.001529749133624,0.004404145758599,-0.004109213128686,-0.004658859223127,0.002372676506639) * MODEL11_texOff(vec2(1,1));
res += mat4x3(0.001883993507363,-0.000837474945001,-0.002132029971108,-0.002613395219669,0.000214412837522,0.002450058935210,-0.003178384620696,0.000568778719753,0.001493013813160,0.001280732802115,0.000439997151261,-0.000094468734460) * MODEL12_texOff(vec2(-1,-1));
res += mat4x3(-0.000076523967437,0.003132700221613,0.001584410085343,0.001855312031694,0.000822276109830,-0.001886837068014,-0.002571691758931,-0.005923309829086,-0.005027597304434,0.003114585531875,0.002744004596025,0.003423603717238) * MODEL12_texOff(vec2(-1,0));
res += mat4x3(0.001407401170582,0.000800560519565,-0.001441804808564,-0.000445517071057,0.000408829015214,0.000473494932521,0.001840226468630,0.003439347958192,0.001576498383656,0.002448155079037,0.003052414162084,0.002932713367045) * MODEL12_texOff(vec2(-1,1));
res += mat4x3(-0.004578559193760,-0.006707576103508,0.003196279285476,0.008127595297992,0.006121095269918,-0.000711196160410,-0.005417982116342,-0.001653853803873,-0.000716618553270,0.001423444249667,0.001077125081792,-0.001113532925956) * MODEL12_texOff(vec2(0,-1));
res += mat4x3(-0.008111230097711,-0.011854328215122,0.013230214826763,0.020575925707817,0.004769958555698,-0.026869315654039,-0.009976765140891,-0.013362137600780,-0.012823491357267,-0.017958216369152,-0.016275752335787,-0.005892310757190) * MODEL12_texOff(vec2(0,0));
res += mat4x3(0.001640594680794,0.002570597687736,0.002802142873406,-0.004258777014911,-0.004722365178168,-0.003318135859445,0.000300672836602,-0.001222903607413,-0.001899578608572,-0.000671486777719,-0.003722870256752,-0.009347976185381) * MODEL12_texOff(vec2(0,1));
res += mat4x3(-0.000972520210780,-0.005714403931051,-0.000515220221132,0.003195210127160,-0.001354680862278,0.000334993004799,0.000551057164557,-0.000674637674820,-0.000480313727167,-0.000816551269963,-0.000223924405873,0.000971600820776) * MODEL12_texOff(vec2(1,-1));
res += mat4x3(-0.008595418184996,-0.009655164554715,0.021197799593210,0.007811848539859,-0.007885907776654,-0.004291181918234,-0.000761918898206,-0.000175935914740,-0.000206072581932,-0.010472095571458,-0.007303729653358,-0.004138069692999) * MODEL12_texOff(vec2(1,0));
res += mat4x3(0.002273361431435,-0.000081856647739,0.001642080023885,-0.000469220307423,-0.002381063066423,0.005175280850381,-0.000355692900484,0.000524657836650,0.001223857281730,-0.001302453689277,-0.004084986634552,-0.008290992118418) * MODEL12_texOff(vec2(1,1));
return vec4(res, 0);
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!WIDTH LUMA.w 3 *
//!HEIGHT LUMA.h 3 *
//!BIND SUBCONV1
//!BIND SUBCONV2
//!BIND SUBCONV3
//!BIND LANCZOS3
//!DESC [AiUpscale_HQ_Sharp_3x_Photo] depth to space

vec4 hook()
{
vec2 fcoord = fract(SUBCONV1_pos * SUBCONV1_size);
vec2 base = SUBCONV1_pos + (vec2(0.5) - fcoord) * SUBCONV1_pt;
ivec2 index = ivec2(fcoord * vec2(3));
mat3 res = mat3(SUBCONV1_tex(base).rgb,SUBCONV2_tex(base).rgb,SUBCONV3_tex(base).rgb);
return vec4(res[index.x][index.y] + float(LANCZOS3_texOff(0)), 0, 0, 1);
}
